home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994…tember: Reference Library / Dev.CD Sep 94.toast / Technical Documentation / C.S.M.P. Digests / csmp-digest-v3-044 < prev    next >
Mailbox/MIME Entity  |  1994-07-12  |  54.0 KB  |  [TEXT/MPS ]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file ASCII text, with CR line terminators default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: Plain text[CR] default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MPS ]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 52 65 63 65 69 76 65 64 | 2d 44 61 74 65 3a 20 54 |Received|-Date: T|
|00000010| 75 65 2c 20 31 32 20 4a | 75 6c 20 31 39 39 34 20 |ue, 12 J|ul 1994 |
|00000020| 31 34 3a 30 38 3a 35 39 | 20 2b 30 32 30 30 0d 46 |14:08:59| +0200.F|
|00000030| 72 6f 6d 3a 20 70 6f 74 | 74 69 65 72 40 63 6c 69 |rom: pot|tier@cli|
|00000040| 70 70 65 72 2e 65 6e 73 | 2e 66 72 20 28 46 72 61 |pper.ens|.fr (Fra|
|00000050| 6e 63 6f 69 73 20 50 6f | 74 74 69 65 72 29 0d 53 |ncois Po|ttier).S|
|00000060| 75 62 6a 65 63 74 3a 20 | 63 73 6d 70 2d 64 69 67 |ubject: |csmp-dig|
|00000070| 65 73 74 2d 76 33 2d 30 | 34 34 0d 54 6f 3a 20 63 |est-v3-0|44.To: c|
|00000080| 73 6d 70 2d 64 69 67 65 | 73 74 40 65 6e 73 2e 66 |smp-dige|st@ens.f|
|00000090| 72 0d 44 61 74 65 3a 20 | 54 75 65 2c 20 31 32 20 |r.Date: |Tue, 12 |
|000000a0| 4a 75 6c 20 31 39 39 34 | 20 31 34 3a 30 38 3a 35 |Jul 1994| 14:08:5|
|000000b0| 35 20 2b 30 32 30 30 20 | 28 4d 45 54 20 44 53 54 |5 +0200 |(MET DST|
|000000c0| 29 0d 58 2d 4d 61 69 6c | 65 72 3a 20 45 4c 4d 20 |).X-Mail|er: ELM |
|000000d0| 5b 76 65 72 73 69 6f 6e | 20 32 2e 34 20 50 4c 32 |[version| 2.4 PL2|
|000000e0| 33 5d 0d 4d 69 6d 65 2d | 56 65 72 73 69 6f 6e 3a |3].Mime-|Version:|
|000000f0| 20 31 2e 30 0d 43 6f 6e | 74 65 6e 74 2d 54 79 70 | 1.0.Con|tent-Typ|
|00000100| 65 3a 20 74 65 78 74 2f | 70 6c 61 69 6e 3b 20 63 |e: text/|plain; c|
|00000110| 68 61 72 73 65 74 3d 49 | 53 4f 2d 38 38 35 39 2d |harset=I|SO-8859-|
|00000120| 31 0d 43 6f 6e 74 65 6e | 74 2d 54 72 61 6e 73 66 |1.Conten|t-Transf|
|00000130| 65 72 2d 45 6e 63 6f 64 | 69 6e 67 3a 20 38 62 69 |er-Encod|ing: 8bi|
|00000140| 74 0d 45 72 72 6f 72 73 | 2d 54 6f 3a 20 6c 69 73 |t.Errors|-To: lis|
|00000150| 74 6d 61 6e 40 65 6e 73 | 2e 66 72 0d 52 65 70 6c |tman@ens|.fr.Repl|
|00000160| 79 2d 54 6f 3a 20 70 6f | 74 74 69 65 72 40 63 6c |y-To: po|ttier@cl|
|00000170| 69 70 70 65 72 2e 65 6e | 73 2e 66 72 0d 58 2d 53 |ipper.en|s.fr.X-S|
|00000180| 65 71 75 65 6e 63 65 3a | 20 34 37 0d 0d 43 2e 53 |equence:| 47..C.S|
|00000190| 2e 4d 2e 50 2e 20 44 69 | 67 65 73 74 20 20 20 20 |.M.P. Di|gest |
|000001a0| 20 20 20 20 20 20 20 20 | 20 54 75 65 2c 20 31 32 | | Tue, 12|
|000001b0| 20 4a 75 6c 20 39 34 20 | 20 20 20 20 20 20 56 6f | Jul 94 | Vo|
|000001c0| 6c 75 6d 65 20 33 20 3a | 20 49 73 73 75 65 20 34 |lume 3 :| Issue 4|
|000001d0| 34 0d 20 0d 54 6f 64 61 | 79 27 73 20 54 6f 70 69 |4. .Toda|y's Topi|
|000001e0| 63 73 3a 0d 20 0d 20 20 | 20 20 20 20 20 20 22 50 |cs:. . | "P|
|000001f0| 6f 77 65 72 20 4d 61 63 | 20 50 72 6f 67 72 61 6d |ower Mac| Program|
|00000200| 6d 69 6e 67 20 53 74 61 | 72 74 65 72 20 4b 69 74 |ming Sta|rter Kit|
|00000210| 22 2c 20 62 79 20 54 6f | 6d 20 54 68 6f 6d 70 73 |", by To|m Thomps|
|00000220| 6f 6e 0d 20 20 20 20 20 | 20 20 20 41 70 70 6c 65 |on. | Apple|
|00000230| 54 61 6c 6b 20 50 72 65 | 66 65 72 65 64 20 76 73 |Talk Pre|fered vs|
|00000240| 2e 20 41 6c 74 65 72 6e | 61 74 65 20 49 6e 74 65 |. Altern|ate Inte|
|00000250| 72 66 61 63 65 3f 0d 20 | 20 20 20 20 20 20 20 43 |rface?. | C|
|00000260| 6f 64 65 57 61 72 72 69 | 6f 72 20 69 6e 6c 69 6e |odeWarri|or inlin|
|00000270| 65 20 70 72 6f 62 6c 65 | 6d 0d 20 20 20 20 20 20 |e proble|m. |
|00000280| 20 20 4d 61 63 20 50 61 | 74 68 6e 61 6d 65 20 53 | Mac Pa|thname S|
|00000290| 79 6e 74 61 78 0d 20 20 | 20 20 20 20 20 20 4d 61 |yntax. | Ma|
|000002a0| 63 54 43 50 20 42 65 72 | 6b 65 6c 65 79 20 73 6f |cTCP Ber|keley so|
|000002b0| 63 6b 65 74 20 77 72 61 | 70 70 65 72 3f 0d 20 20 |cket wra|pper?. |
|000002c0| 20 20 20 20 20 20 4d 61 | 63 73 42 75 67 2d 48 6f | Ma|csBug-Ho|
|000002d0| 77 20 44 6f 20 49 2e 2e | 2e 0d 20 20 20 20 20 20 |w Do I..|.. |
|000002e0| 20 20 52 65 63 65 69 76 | 69 6e 67 20 45 76 65 6e | Receiv|ing Even|
|000002f0| 74 73 20 69 6e 20 41 70 | 70 6c 65 53 63 72 69 70 |ts in Ap|pleScrip|
|00000300| 74 0d 20 20 20 20 20 20 | 20 20 5b 51 5d 20 52 65 |t. | [Q] Re|
|00000310| 6c 65 61 73 65 52 65 73 | 6f 75 72 63 65 2c 20 50 |leaseRes|ource, P|
|00000320| 49 43 54 73 20 61 6e 64 | 20 68 61 6e 64 6c 65 73 |ICTs and| handles|
|00000330| 0d 20 20 20 20 20 20 20 | 20 63 6f 6d 70 75 74 65 |. | compute|
|00000340| 72 20 73 74 72 61 74 65 | 67 79 0d 0d 0d 0d 54 68 |r strate|gy....Th|
|00000350| 65 20 43 6f 6d 70 2e 53 | 79 73 2e 4d 61 63 2e 50 |e Comp.S|ys.Mac.P|
|00000360| 72 6f 67 72 61 6d 6d 65 | 72 20 44 69 67 65 73 74 |rogramme|r Digest|
|00000370| 20 69 73 20 6d 6f 64 65 | 72 61 74 65 64 20 62 79 | is mode|rated by|
|00000380| 20 46 72 61 6e 63 6f 69 | 73 20 50 6f 74 74 69 65 | Francoi|s Pottie|
|00000390| 72 0d 28 70 6f 74 74 69 | 65 72 40 63 6c 69 70 70 |r.(potti|er@clipp|
|000003a0| 65 72 2e 65 6e 73 2e 66 | 72 29 2e 0d 20 0d 54 68 |er.ens.f|r).. .Th|
|000003b0| 65 20 64 69 67 65 73 74 | 20 69 73 20 61 20 63 6f |e digest| is a co|
|000003c0| 6c 6c 65 63 74 69 6f 6e | 20 6f 66 20 61 72 74 69 |llection| of arti|
|000003d0| 63 6c 65 20 74 68 72 65 | 61 64 73 20 66 72 6f 6d |cle thre|ads from|
|000003e0| 20 74 68 65 20 69 6e 74 | 65 72 6e 65 74 20 6e 65 | the int|ernet ne|
|000003f0| 77 73 67 72 6f 75 70 0d | 63 6f 6d 70 2e 73 79 73 |wsgroup.|comp.sys|
|00000400| 2e 6d 61 63 2e 70 72 6f | 67 72 61 6d 6d 65 72 2e |.mac.pro|grammer.|
|00000410| 20 20 49 74 20 69 73 20 | 64 65 73 69 67 6e 65 64 | It is |designed|
|00000420| 20 66 6f 72 20 70 65 6f | 70 6c 65 20 77 68 6f 20 | for peo|ple who |
|00000430| 72 65 61 64 20 63 2e 73 | 2e 6d 2e 70 2e 20 73 65 |read c.s|.m.p. se|
|00000440| 6d 69 2d 0d 72 65 67 75 | 6c 61 72 6c 79 20 61 6e |mi-.regu|larly an|
|00000450| 64 20 77 61 6e 74 20 61 | 6e 20 61 72 63 68 69 76 |d want a|n archiv|
|00000460| 65 20 6f 66 20 74 68 65 | 20 64 69 73 63 75 73 73 |e of the| discuss|
|00000470| 69 6f 6e 73 2e 20 20 49 | 66 20 79 6f 75 20 64 6f |ions. I|f you do|
|00000480| 6e 27 74 20 6b 6e 6f 77 | 20 77 68 61 74 20 61 0d |n't know| what a.|
|00000490| 6e 65 77 73 67 72 6f 75 | 70 20 69 73 2c 20 79 6f |newsgrou|p is, yo|
|000004a0| 75 20 70 72 6f 62 61 62 | 6c 79 20 64 6f 6e 27 74 |u probab|ly don't|
|000004b0| 20 68 61 76 65 20 61 63 | 63 65 73 73 20 74 6f 20 | have ac|cess to |
|000004c0| 69 74 2e 20 20 41 73 6b | 20 79 6f 75 72 20 73 79 |it. Ask| your sy|
|000004d0| 73 74 65 6d 73 0d 61 64 | 6d 69 6e 69 73 74 72 61 |stems.ad|ministra|
|000004e0| 74 6f 72 28 73 29 20 66 | 6f 72 20 64 65 74 61 69 |tor(s) f|or detai|
|000004f0| 6c 73 2e 20 20 49 66 20 | 79 6f 75 20 64 6f 6e 27 |ls. If |you don'|
|00000500| 74 20 68 61 76 65 20 61 | 63 63 65 73 73 20 74 6f |t have a|ccess to|
|00000510| 20 6e 65 77 73 2c 20 79 | 6f 75 20 6d 61 79 0d 73 | news, y|ou may.s|
|00000520| 74 69 6c 6c 20 62 65 20 | 61 62 6c 65 20 74 6f 20 |till be |able to |
|00000530| 70 6f 73 74 20 6d 65 73 | 73 61 67 65 73 20 74 6f |post mes|sages to|
|00000540| 20 74 68 65 20 67 72 6f | 75 70 20 62 79 20 75 73 | the gro|up by us|
|00000550| 69 6e 67 20 61 20 6d 61 | 69 6c 20 73 65 72 76 65 |ing a ma|il serve|
|00000560| 72 20 6c 69 6b 65 0d 61 | 6e 6f 6e 2e 70 65 6e 65 |r like.a|non.pene|
|00000570| 74 2e 66 69 20 28 6d 61 | 69 6c 20 68 65 6c 70 40 |t.fi (ma|il help@|
|00000580| 61 6e 6f 6e 2e 70 65 6e | 65 74 2e 66 69 20 66 6f |anon.pen|et.fi fo|
|00000590| 72 20 6d 6f 72 65 20 69 | 6e 66 6f 72 6d 61 74 69 |r more i|nformati|
|000005a0| 6f 6e 29 2e 0d 20 0d 45 | 61 63 68 20 69 73 73 75 |on).. .E|ach issu|
|000005b0| 65 20 6f 66 20 74 68 65 | 20 64 69 67 65 73 74 20 |e of the| digest |
|000005c0| 63 6f 6e 74 61 69 6e 73 | 20 6f 6e 65 20 6f 72 20 |contains| one or |
|000005d0| 6d 6f 72 65 20 73 65 74 | 73 20 6f 66 20 61 72 74 |more set|s of art|
|000005e0| 69 63 6c 65 73 20 28 63 | 61 6c 6c 65 64 0d 74 68 |icles (c|alled.th|
|000005f0| 72 65 61 64 73 29 2c 20 | 77 69 74 68 20 65 61 63 |reads), |with eac|
|00000600| 68 20 73 65 74 20 63 6f | 72 72 65 73 70 6f 6e 64 |h set co|rrespond|
|00000610| 69 6e 67 20 74 6f 20 61 | 20 27 64 69 73 63 75 73 |ing to a| 'discus|
|00000620| 73 69 6f 6e 27 20 6f 66 | 20 61 20 70 61 72 74 69 |sion' of| a parti|
|00000630| 63 75 6c 61 72 0d 73 75 | 62 6a 65 63 74 2e 20 20 |cular.su|bject. |
|00000640| 54 68 65 20 61 72 74 69 | 63 6c 65 73 20 61 72 65 |The arti|cles are|
|00000650| 20 6e 6f 74 20 65 64 69 | 74 65 64 3b 20 61 6c 6c | not edi|ted; all|
|00000660| 20 61 72 74 69 63 6c 65 | 73 20 69 6e 63 6c 75 64 | article|s includ|
|00000670| 65 64 20 69 6e 20 74 68 | 69 73 20 64 69 67 65 73 |ed in th|is diges|
|00000680| 74 0d 61 72 65 20 69 6e | 20 74 68 65 69 72 20 6f |t.are in| their o|
|00000690| 72 69 67 69 6e 61 6c 20 | 70 6f 73 74 65 64 20 66 |riginal |posted f|
|000006a0| 6f 72 6d 20 28 61 73 20 | 72 65 63 65 69 76 65 64 |orm (as |received|
|000006b0| 20 62 79 20 6f 75 72 20 | 6e 65 77 73 20 73 65 72 | by our |news ser|
|000006c0| 76 65 72 20 61 74 0d 6e | 65 66 2e 65 6e 73 2e 66 |ver at.n|ef.ens.f|
|000006d0| 72 29 2e 20 20 41 72 74 | 69 63 6c 65 20 74 68 72 |r). Art|icle thr|
|000006e0| 65 61 64 73 20 61 72 65 | 20 6e 6f 74 20 61 64 64 |eads are| not add|
|000006f0| 65 64 20 74 6f 20 74 68 | 65 20 64 69 67 65 73 74 |ed to th|e digest|
|00000700| 20 75 6e 74 69 6c 20 74 | 68 65 20 6c 61 73 74 0d | until t|he last.|
|00000710| 61 72 74 69 63 6c 65 20 | 61 64 64 65 64 20 74 6f |article |added to|
|00000720| 20 74 68 65 20 74 68 72 | 65 61 64 20 69 73 20 61 | the thr|ead is a|
|00000730| 74 20 6c 65 61 73 74 20 | 74 77 6f 20 77 65 65 6b |t least |two week|
|00000740| 73 20 6f 6c 64 20 28 74 | 68 69 73 20 69 73 20 74 |s old (t|his is t|
|00000750| 6f 20 65 6e 73 75 72 65 | 20 74 68 61 74 0d 74 68 |o ensure| that.th|
|00000760| 65 20 74 68 72 65 61 64 | 20 69 73 20 64 65 61 64 |e thread| is dead|
|00000770| 20 62 65 66 6f 72 65 20 | 61 64 64 69 6e 67 20 69 | before |adding i|
|00000780| 74 20 74 6f 20 74 68 65 | 20 64 69 67 65 73 74 29 |t to the| digest)|
|00000790| 2e 20 20 41 72 74 69 63 | 6c 65 20 74 68 72 65 61 |. Artic|le threa|
|000007a0| 64 73 20 74 68 61 74 0d | 63 6f 6e 73 69 73 74 20 |ds that.|consist |
|000007b0| 6f 66 20 6f 6e 6c 79 20 | 6f 6e 65 20 6d 65 73 73 |of only |one mess|
|000007c0| 61 67 65 20 61 72 65 20 | 67 65 6e 65 72 61 6c 6c |age are |generall|
|000007d0| 79 20 6e 6f 74 20 69 6e | 63 6c 75 64 65 64 20 69 |y not in|cluded i|
|000007e0| 6e 20 74 68 65 20 64 69 | 67 65 73 74 2e 0d 0d 54 |n the di|gest...T|
|000007f0| 68 65 20 64 69 67 65 73 | 74 20 69 73 20 6f 66 66 |he diges|t is off|
|00000800| 69 63 69 61 6c 6c 79 20 | 64 69 73 74 72 69 62 75 |icially |distribu|
|00000810| 74 65 64 20 62 79 20 74 | 77 6f 20 6d 65 61 6e 73 |ted by t|wo means|
|00000820| 2c 20 62 79 20 65 6d 61 | 69 6c 20 61 6e 64 20 66 |, by ema|il and f|
|00000830| 74 70 2e 0d 0d 49 66 20 | 79 6f 75 20 77 61 6e 74 |tp...If |you want|
|00000840| 20 74 6f 20 72 65 63 65 | 69 76 65 20 74 68 65 20 | to rece|ive the |
|00000850| 64 69 67 65 73 74 20 62 | 79 20 6d 61 69 6c 2c 20 |digest b|y mail, |
|00000860| 73 65 6e 64 20 65 6d 61 | 69 6c 20 74 6f 20 6c 69 |send ema|il to li|
|00000870| 73 74 73 65 72 76 40 65 | 6e 73 2e 66 72 0d 77 69 |stserv@e|ns.fr.wi|
|00000880| 74 68 20 6e 6f 20 73 75 | 62 6a 65 63 74 20 61 6e |th no su|bject an|
|00000890| 64 20 6f 6e 65 20 6f 66 | 20 74 68 65 20 66 6f 6c |d one of| the fol|
|000008a0| 6c 6f 77 69 6e 67 20 63 | 6f 6d 6d 61 6e 64 73 20 |lowing c|ommands |
|000008b0| 61 73 20 62 6f 64 79 3a | 0d 20 20 20 20 68 65 6c |as body:|. hel|
|000008c0| 70 09 09 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |p.. | |
|000008d0| 20 20 20 53 65 6e 64 73 | 20 79 6f 75 20 61 20 73 | Sends| you a s|
|000008e0| 75 6d 6d 61 72 79 20 6f | 66 20 63 6f 6d 6d 61 6e |ummary o|f comman|
|000008f0| 64 73 0d 20 20 20 20 73 | 75 62 73 63 72 69 62 65 |ds. s|ubscribe|
|00000900| 20 63 73 6d 70 2d 64 69 | 67 65 73 74 20 59 6f 75 | csmp-di|gest You|
|00000910| 72 20 4e 61 6d 65 09 41 | 64 64 73 20 79 6f 75 20 |r Name.A|dds you |
|00000920| 74 6f 20 74 68 65 20 6d | 61 69 6c 69 6e 67 20 6c |to the m|ailing l|
|00000930| 69 73 74 0d 20 20 20 20 | 73 69 67 6e 6f 66 66 20 |ist. |signoff |
|00000940| 63 73 6d 70 2d 64 69 67 | 65 73 74 09 09 09 52 65 |csmp-dig|est...Re|
|00000950| 6d 6f 76 65 73 20 79 6f | 75 20 66 72 6f 6d 20 74 |moves yo|u from t|
|00000960| 68 65 20 6c 69 73 74 0d | 4f 6e 63 65 20 79 6f 75 |he list.|Once you|
|00000970| 20 68 61 76 65 20 73 75 | 62 73 63 72 69 62 65 64 | have su|bscribed|
|00000980| 2c 20 79 6f 75 20 77 69 | 6c 6c 20 61 75 74 6f 6d |, you wi|ll autom|
|00000990| 61 74 69 63 61 6c 6c 79 | 20 72 65 63 65 69 76 65 |atically| receive|
|000009a0| 20 65 61 63 68 20 6e 65 | 77 0d 69 73 73 75 65 20 | each ne|w.issue |
|000009b0| 61 73 20 69 74 20 69 73 | 20 63 72 65 61 74 65 64 |as it is| created|
|000009c0| 2e 0d 0d 54 68 65 20 6f | 66 66 69 63 69 61 6c 20 |...The o|fficial |
|000009d0| 66 74 70 20 69 6e 66 6f | 20 69 73 20 2f 2f 66 74 |ftp info| is //ft|
|000009e0| 70 2e 64 61 72 74 6d 6f | 75 74 68 2e 65 64 75 2f |p.dartmo|uth.edu/|
|000009f0| 70 75 62 2f 63 73 6d 70 | 2d 64 69 67 65 73 74 2e |pub/csmp|-digest.|
|00000a00| 0d 51 75 65 73 74 69 6f | 6e 73 20 72 65 6c 61 74 |.Questio|ns relat|
|00000a10| 65 64 20 74 6f 20 74 68 | 65 20 66 74 70 20 73 69 |ed to th|e ftp si|
|00000a20| 74 65 20 73 68 6f 75 6c | 64 20 62 65 20 64 69 72 |te shoul|d be dir|
|00000a30| 65 63 74 65 64 20 74 6f | 0d 73 63 6f 74 74 2e 73 |ected to|.scott.s|
|00000a40| 69 6c 76 65 72 40 64 61 | 72 74 6d 6f 75 74 68 2e |ilver@da|rtmouth.|
|00000a50| 65 64 75 2e 20 43 75 72 | 72 65 6e 74 6c 79 20 6e |edu. Cur|rently n|
|00000a60| 6f 20 70 72 65 76 69 6f | 75 73 20 76 6f 6c 75 6d |o previo|us volum|
|00000a70| 65 73 20 6f 66 20 74 68 | 65 20 43 53 4d 50 0d 64 |es of th|e CSMP.d|
|00000a80| 69 67 65 73 74 20 61 72 | 65 20 61 76 61 69 6c 61 |igest ar|e availa|
|00000a90| 62 6c 65 20 74 68 65 72 | 65 2e 0d 0d 41 6c 73 6f |ble ther|e...Also|
|00000aa0| 2c 20 74 68 65 20 64 69 | 67 65 73 74 73 20 61 72 |, the di|gests ar|
|00000ab0| 65 20 61 76 61 69 6c 61 | 62 6c 65 20 74 6f 20 57 |e availa|ble to W|
|00000ac0| 41 49 53 20 75 73 65 72 | 73 2e 20 20 54 6f 20 73 |AIS user|s. To s|
|00000ad0| 65 61 72 63 68 20 62 61 | 63 6b 20 69 73 73 75 65 |earch ba|ck issue|
|00000ae0| 73 0d 77 69 74 68 20 57 | 41 49 53 2c 20 75 73 65 |s.with W|AIS, use|
|00000af0| 20 63 6f 6d 70 2e 73 79 | 73 2e 6d 61 63 2e 70 72 | comp.sy|s.mac.pr|
|00000b00| 6f 67 72 61 6d 6d 65 72 | 2e 73 72 63 2e 20 57 69 |ogrammer|.src. Wi|
|00000b10| 74 68 20 4d 6f 73 61 69 | 63 2c 20 75 73 65 0d 68 |th Mosai|c, use.h|
|00000b20| 74 74 70 3a 2f 2f 77 77 | 77 2e 77 61 69 73 2e 63 |ttp://ww|w.wais.c|
|00000b30| 6f 6d 2f 77 61 69 73 2d | 64 62 73 2f 63 6f 6d 70 |om/wais-|dbs/comp|
|00000b40| 2e 73 79 73 2e 6d 61 63 | 2e 70 72 6f 67 72 61 6d |.sys.mac|.program|
|00000b50| 6d 65 72 2e 68 74 6d 6c | 2e 0d 0d 0d 2d 2d 2d 2d |mer.html|....----|
|00000b60| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000b70| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000b80| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000b90| 2d 2d 2d 0d 0d 3e 46 72 | 6f 6d 20 6e 61 67 6c 65 |---..>Fr|om nagle|
|00000ba0| 40 6e 65 74 63 6f 6d 2e | 63 6f 6d 20 28 4a 6f 68 |@netcom.|com (Joh|
|00000bb0| 6e 20 4e 61 67 6c 65 29 | 0d 53 75 62 6a 65 63 74 |n Nagle)|.Subject|
|00000bc0| 3a 20 22 50 6f 77 65 72 | 20 4d 61 63 20 50 72 6f |: "Power| Mac Pro|
|00000bd0| 67 72 61 6d 6d 69 6e 67 | 20 53 74 61 72 74 65 72 |gramming| Starter|
|00000be0| 20 4b 69 74 22 2c 20 62 | 79 20 54 6f 6d 20 54 68 | Kit", b|y Tom Th|
|00000bf0| 6f 6d 70 73 6f 6e 0d 44 | 61 74 65 3a 20 54 75 65 |ompson.D|ate: Tue|
|00000c00| 2c 20 32 38 20 4a 75 6e | 20 31 39 39 34 20 30 30 |, 28 Jun| 1994 00|
|00000c10| 3a 31 34 3a 35 37 20 47 | 4d 54 0d 4f 72 67 61 6e |:14:57 G|MT.Organ|
|00000c20| 69 7a 61 74 69 6f 6e 3a | 20 4e 45 54 43 4f 4d 20 |ization:| NETCOM |
|00000c30| 4f 6e 2d 6c 69 6e 65 20 | 43 6f 6d 6d 75 6e 69 63 |On-line |Communic|
|00000c40| 61 74 69 6f 6e 20 53 65 | 72 76 69 63 65 73 20 28 |ation Se|rvices (|
|00000c50| 34 30 38 20 32 36 31 2d | 34 37 30 30 20 67 75 65 |408 261-|4700 gue|
|00000c60| 73 74 29 0d 0d 20 20 20 | 20 4a 75 73 74 20 62 6f |st).. | Just bo|
|00000c70| 75 67 68 74 20 22 50 6f | 77 65 72 20 4d 61 63 69 |ught "Po|wer Maci|
|00000c80| 6e 74 6f 73 68 20 50 72 | 6f 67 72 61 6d 6d 69 6e |ntosh Pr|ogrammin|
|00000c90| 67 20 53 74 61 72 74 65 | 72 20 4b 69 74 22 2c 20 |g Starte|r Kit", |
|00000ca0| 62 79 20 54 6f 6d 0d 54 | 68 6f 6d 70 73 6f 6e 20 |by Tom.T|hompson |
|00000cb0| 28 49 53 42 4e 20 31 2d | 35 36 38 33 30 2d 30 39 |(ISBN 1-|56830-09|
|00000cc0| 31 2d 33 29 2e 20 20 54 | 68 69 73 20 69 73 20 61 |1-3). T|his is a|
|00000cd0| 20 63 75 74 65 20 6c 69 | 74 74 6c 65 20 62 6f 6f | cute li|ttle boo|
|00000ce0| 6b 2c 20 62 75 74 0d 69 | 74 27 73 20 6e 6f 74 20 |k, but.i|t's not |
|00000cf0| 71 75 69 74 65 20 77 68 | 61 74 20 74 68 65 20 74 |quite wh|at the t|
|00000d00| 69 74 6c 65 20 69 6e 64 | 69 63 61 74 65 73 2e 20 |itle ind|icates. |
|00000d10| 20 59 6f 75 20 67 65 74 | 20 61 20 34 31 38 2d 70 | You get| a 418-p|
|00000d20| 61 67 65 20 62 6f 6f 6b | 2c 0d 61 6e 64 20 61 20 |age book|,.and a |
|00000d30| 43 44 2d 52 4f 4d 20 77 | 69 74 68 20 61 20 76 65 |CD-ROM w|ith a ve|
|00000d40| 72 79 20 6c 69 6d 69 74 | 65 64 20 76 65 72 73 69 |ry limit|ed versi|
|00000d50| 6f 6e 20 6f 66 20 74 68 | 65 20 4d 65 74 72 6f 57 |on of th|e MetroW|
|00000d60| 65 72 6b 73 20 63 6f 6d | 70 69 6c 65 72 73 2e 0d |erks com|pilers..|
|00000d70| 28 59 6f 75 20 63 61 6e | 27 74 20 64 6f 20 61 6e |(You can|'t do an|
|00000d80| 79 74 68 69 6e 67 20 62 | 75 74 20 77 6f 72 6b 20 |ything b|ut work |
|00000d90| 77 69 74 68 20 74 68 65 | 20 73 61 6d 70 6c 65 20 |with the| sample |
|00000da0| 63 6f 64 65 20 6f 6e 20 | 74 68 65 20 43 44 2d 52 |code on |the CD-R|
|00000db0| 4f 4d 2e 29 0d 0d 20 20 | 20 20 54 68 69 73 20 62 |OM.).. | This b|
|00000dc0| 6f 6f 6b 20 68 61 73 20 | 61 74 74 69 74 75 64 65 |ook has |attitude|
|00000dd0| 2e 20 20 49 74 27 73 20 | 6e 6f 74 20 6f 6e 65 20 |. It's |not one |
|00000de0| 6f 66 20 74 68 6f 73 65 | 20 22 54 68 65 20 4d 61 |of those| "The Ma|
|00000df0| 63 20 69 73 20 65 61 73 | 79 22 0d 62 6f 6f 6b 73 |c is eas|y".books|
|00000e00| 3b 20 69 74 27 73 20 61 | 20 6d 61 63 68 6f 20 70 |; it's a| macho p|
|00000e10| 72 6f 67 72 61 6d 6d 69 | 6e 67 20 62 6f 6f 6b 20 |rogrammi|ng book |
|00000e20| 62 79 20 61 6e 20 6f 6c | 64 2d 74 69 6d 65 20 6c |by an ol|d-time l|
|00000e30| 6f 77 2d 6c 65 76 65 6c | 20 4d 61 63 20 68 61 63 |ow-level| Mac hac|
|00000e40| 6b 65 72 2e 0d 54 68 65 | 20 66 69 72 73 74 20 72 |ker..The| first r|
|00000e50| 65 61 6c 20 73 61 6d 70 | 6c 65 20 61 70 70 6c 69 |eal samp|le appli|
|00000e60| 63 61 74 69 6f 6e 20 69 | 73 6e 27 74 20 73 6f 6d |cation i|sn't som|
|00000e70| 65 74 68 69 6e 67 20 6c | 69 6b 65 20 61 20 64 72 |ething l|ike a dr|
|00000e80| 61 77 20 70 72 6f 67 72 | 61 6d 3b 20 0d 69 74 27 |aw progr|am; .it'|
|00000e90| 73 20 61 20 70 72 6f 67 | 72 61 6d 20 74 6f 20 65 |s a prog|ram to e|
|00000ea0| 6a 65 63 74 20 74 68 65 | 20 63 75 72 72 65 6e 74 |ject the| current|
|00000eb0| 6c 79 20 6d 6f 75 6e 74 | 65 64 20 43 44 20 77 68 |ly mount|ed CD wh|
|00000ec0| 69 6c 65 20 66 69 6c 65 | 20 73 68 61 72 69 6e 67 |ile file| sharing|
|00000ed0| 20 69 73 20 61 63 74 69 | 76 65 2e 20 20 0d 54 68 | is acti|ve. .Th|
|00000ee0| 65 20 73 65 63 6f 6e 64 | 20 73 61 6d 70 6c 65 20 |e second| sample |
|00000ef0| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 69 73 20 61 |applicat|ion is a|
|00000f00| 6e 20 49 4e 49 54 20 77 | 68 69 63 68 20 63 68 61 |n INIT w|hich cha|
|00000f10| 6e 67 65 73 20 74 68 65 | 20 73 63 72 65 65 6e 20 |nges the| screen |
|00000f20| 64 65 70 74 68 20 77 68 | 65 6e 20 0d 73 6f 6d 65 |depth wh|en .some|
|00000f30| 20 66 75 6e 6e 79 20 63 | 68 61 72 61 63 74 65 72 | funny c|haracter|
|00000f40| 20 63 6f 6d 62 69 6e 61 | 74 69 6f 6e 20 69 73 20 | combina|tion is |
|00000f50| 68 69 74 2e 20 54 68 65 | 72 65 27 73 0d 74 72 61 |hit. The|re's.tra|
|00000f60| 70 20 70 61 74 63 68 69 | 6e 67 2c 20 6d 69 78 65 |p patchi|ng, mixe|
|00000f70| 64 20 36 38 4b 2f 50 50 | 43 20 63 6f 64 65 2c 20 |d 68K/PP|C code, |
|00000f80| 61 63 63 65 73 73 69 6e | 67 20 6f 66 20 6c 6f 77 |accessin|g of low|
|00000f90| 2d 6d 65 6d 6f 72 79 20 | 67 6c 6f 62 61 6c 73 2c |-memory |globals,|
|00000fa0| 20 0d 61 6e 64 20 36 38 | 4b 20 63 6f 64 65 20 74 | .and 68|K code t|
|00000fb0| 68 61 74 20 6d 61 6e 69 | 70 75 6c 61 74 65 73 20 |hat mani|pulates |
|00000fc0| 74 68 65 20 73 74 61 63 | 6b 20 70 6f 69 6e 74 65 |the stac|k pointe|
|00000fd0| 72 2e 20 20 41 6c 6c 20 | 74 68 65 20 72 65 73 6f |r. All |the reso|
|00000fe0| 75 72 63 65 73 20 61 72 | 65 0d 77 72 69 74 74 65 |urces ar|e.writte|
|00000ff0| 6e 20 69 6e 20 52 65 7a | 2c 20 62 79 20 68 61 6e |n in Rez|, by han|
|00001000| 64 2e 20 20 54 68 65 72 | 65 27 73 20 65 76 65 6e |d. Ther|e's even|
|00001010| 20 73 6f 6d 65 20 69 6e | 6c 69 6e 65 20 61 73 73 | some in|line ass|
|00001020| 65 6d 62 6c 79 20 36 38 | 4b 20 61 73 73 65 6d 62 |embly 68|K assemb|
|00001030| 6c 79 0d 63 6f 64 65 20 | 77 72 69 74 74 65 6e 20 |ly.code |written |
|00001040| 69 6e 20 68 65 78 2e 20 | 20 4e 6f 20 50 50 43 20 |in hex. | No PPC |
|00001050| 6d 61 63 68 69 6e 65 20 | 63 6f 64 65 2c 20 74 68 |machine |code, th|
|00001060| 6f 75 67 68 2e 0d 0d 20 | 20 20 20 20 54 68 65 20 |ough... | The |
|00001070| 61 70 70 72 6f 61 63 68 | 20 74 61 6b 65 6e 20 69 |approach| taken i|
|00001080| 73 20 73 74 72 69 63 74 | 6c 79 20 43 2e 20 20 4e |s strict|ly C. N|
|00001090| 6f 20 6e 65 77 2d 66 61 | 6e 67 6c 65 64 20 6f 62 |o new-fa|ngled ob|
|000010a0| 6a 65 63 74 2d 6f 72 69 | 65 6e 74 65 64 0d 70 72 |ject-ori|ented.pr|
|000010b0| 6f 67 72 61 6d 6d 69 6e | 67 20 68 65 72 65 2e 20 |ogrammin|g here. |
|000010c0| 20 4e 6f 6e 65 20 6f 66 | 20 74 68 61 74 20 65 78 | None of| that ex|
|000010d0| 6f 74 69 63 20 63 6c 61 | 73 73 20 6c 69 62 72 61 |otic cla|ss libra|
|000010e0| 72 79 20 73 74 75 66 66 | 2e 20 20 59 6f 75 20 64 |ry stuff|. You d|
|000010f0| 6f 20 74 68 69 6e 67 73 | 0d 62 79 20 63 61 6c 6c |o things|.by call|
|00001100| 69 6e 67 20 74 68 65 20 | 54 6f 6f 6c 62 6f 78 2c |ing the |Toolbox,|
|00001110| 20 6c 69 6b 65 20 42 69 | 6c 6c 20 41 74 6b 69 6e | like Bi|ll Atkin|
|00001120| 73 6f 6e 20 69 6e 74 65 | 6e 64 65 64 2e 0d 0d 20 |son inte|nded... |
|00001130| 20 20 20 20 42 75 74 20 | 69 66 20 79 6f 75 20 77 | But |if you w|
|00001140| 61 6e 74 20 61 20 72 65 | 61 64 61 62 6c 65 20 65 |ant a re|adable e|
|00001150| 78 70 6c 61 69 6e 61 74 | 69 6f 6e 20 6f 66 20 68 |xplainat|ion of h|
|00001160| 6f 77 20 74 6f 20 64 6f | 20 66 61 74 20 74 72 61 |ow to do| fat tra|
|00001170| 70 20 70 61 74 63 68 65 | 73 2c 0d 74 68 69 73 20 |p patche|s,.this |
|00001180| 69 73 20 74 68 65 20 62 | 6f 6f 6b 20 66 6f 72 20 |is the b|ook for |
|00001190| 79 6f 75 2e 20 20 0d 0d | 09 09 09 09 09 4a 6f 68 |you. ..|.....Joh|
|000011a0| 6e 20 4e 61 67 6c 65 0d | 0d 2d 2d 2d 2d 2d 2d 2d |n Nagle.|.-------|
|000011b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000011c0| 2d 2d 2d 2d 0d 0d 3e 46 | 72 6f 6d 20 6e 70 65 61 |----..>F|rom npea|
|000011d0| 72 6c 40 6d 61 67 6e 75 | 73 2e 61 63 73 2e 6f 68 |rl@magnu|s.acs.oh|
|000011e0| 69 6f 2d 73 74 61 74 65 | 2e 65 64 75 20 28 4e 61 |io-state|.edu (Na|
|000011f0| 74 68 61 6e 20 59 20 50 | 65 61 72 6c 73 74 65 69 |than Y P|earlstei|
|00001200| 6e 29 0d 53 75 62 6a 65 | 63 74 3a 20 41 70 70 6c |n).Subje|ct: Appl|
|00001210| 65 54 61 6c 6b 20 50 72 | 65 66 65 72 65 64 20 76 |eTalk Pr|efered v|
|00001220| 73 2e 20 41 6c 74 65 72 | 6e 61 74 65 20 49 6e 74 |s. Alter|nate Int|
|00001230| 65 72 66 61 63 65 3f 0d | 44 61 74 65 3a 20 32 37 |erface?.|Date: 27|
|00001240| 20 4a 75 6e 20 31 39 39 | 34 20 31 37 3a 35 37 3a | Jun 199|4 17:57:|
|00001250| 30 31 20 47 4d 54 0d 4f | 72 67 61 6e 69 7a 61 74 |01 GMT.O|rganizat|
|00001260| 69 6f 6e 3a 20 54 68 65 | 20 4f 68 69 6f 20 53 74 |ion: The| Ohio St|
|00001270| 61 74 65 20 55 6e 69 76 | 65 72 73 69 74 79 0d 0d |ate Univ|ersity..|
|00001280| 48 69 2c 20 41 63 63 6f | 72 64 69 6e 67 20 74 6f |Hi, Acco|rding to|
|00001290| 20 54 48 49 4e 4b 20 52 | 65 66 65 72 65 6e 63 65 | THINK R|eference|
|000012a0| 20 74 68 65 72 65 20 61 | 72 65 20 32 20 77 61 79 | there a|re 2 way|
|000012b0| 73 20 6f 66 20 75 73 69 | 6e 67 20 41 70 70 6c 65 |s of usi|ng Apple|
|000012c0| 54 61 6c 6b 2c 0d 74 68 | 65 20 70 72 65 66 65 72 |Talk,.th|e prefer|
|000012d0| 65 64 20 6f 72 20 74 68 | 65 20 61 6c 74 65 72 6e |ed or th|e altern|
|000012e0| 61 74 65 20 69 6e 74 65 | 72 66 61 63 65 2e 20 20 |ate inte|rface. |
|000012f0| 49 66 20 49 20 75 73 65 | 20 74 68 65 20 61 6c 74 |If I use| the alt|
|00001300| 65 72 6e 61 74 65 0d 69 | 6e 74 65 72 66 61 63 65 |ernate.i|nterface|
|00001310| 20 49 20 64 6f 6e 27 74 | 20 68 61 76 65 20 74 6f | I don't| have to|
|00001320| 20 77 72 69 74 65 20 61 | 20 73 6f 63 6b 65 74 20 | write a| socket |
|00001330| 6c 69 73 74 65 6e 65 72 | 2c 20 62 75 74 20 69 66 |listener|, but if|
|00001340| 20 49 20 75 73 65 20 74 | 68 65 0d 70 72 65 66 65 | I use t|he.prefe|
|00001350| 72 65 64 20 6d 65 74 68 | 6f 64 20 49 20 64 6f 2e |red meth|od I do.|
|00001360| 20 20 57 68 61 74 20 77 | 6f 75 6c 64 20 62 65 20 | What w|ould be |
|00001370| 74 68 65 20 64 72 61 77 | 62 61 63 6b 73 20 6f 66 |the draw|backs of|
|00001380| 20 75 73 69 6e 67 20 74 | 68 65 0d 61 6c 74 65 72 | using t|he.alter|
|00001390| 6e 61 74 65 20 69 6e 74 | 65 72 66 61 63 65 3f 20 |nate int|erface? |
|000013a0| 20 50 6c 65 61 73 65 20 | 64 6f 6e 27 74 20 73 65 | Please |don't se|
|000013b0| 6e 64 20 67 75 65 73 73 | 65 73 2e 0d 54 68 61 6e |nd guess|es..Than|
|000013c0| 6b 73 0d 0d 2d 2d 20 0d | 44 61 72 6b 4e 61 74 65 |ks..-- .|DarkNate|
|000013d0| 72 20 2d 20 70 65 61 72 | 6c 73 74 65 69 6e 2e 31 |r - pear|lstein.1|
|000013e0| 40 6f 73 75 2e 65 64 75 | 0d 0d 2b 2b 2b 2b 2b 2b |@osu.edu|..++++++|
|000013f0| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|00001400| 2b 2b 2b 2b 2b 0d 0d 3e | 46 72 6f 6d 20 6e 70 65 |+++++..>|From npe|
|00001410| 61 72 6c 40 6d 61 67 6e | 75 73 2e 61 63 73 2e 6f |arl@magn|us.acs.o|
|00001420| 68 69 6f 2d 73 74 61 74 | 65 2e 65 64 75 20 28 4e |hio-stat|e.edu (N|
|00001430| 61 74 68 61 6e 20 59 20 | 50 65 61 72 6c 73 74 65 |athan Y |Pearlste|
|00001440| 69 6e 29 0d 44 61 74 65 | 3a 20 32 37 20 4a 75 6e |in).Date|: 27 Jun|
|00001450| 20 31 39 39 34 20 31 38 | 3a 30 33 3a 34 32 20 47 | 1994 18|:03:42 G|
|00001460| 4d 54 0d 4f 72 67 61 6e | 69 7a 61 74 69 6f 6e 3a |MT.Organ|ization:|
|00001470| 20 54 68 65 20 4f 68 69 | 6f 20 53 74 61 74 65 20 | The Ohi|o State |
|00001480| 55 6e 69 76 65 72 73 69 | 74 79 0d 0d 49 6e 20 61 |Universi|ty..In a|
|00001490| 72 74 69 63 6c 65 20 3c | 32 75 6e 33 74 64 24 38 |rticle <|2un3td$8|
|000014a0| 33 64 40 63 68 61 72 6d | 2e 6d 61 67 6e 75 73 2e |3d@charm|.magnus.|
|000014b0| 61 63 73 2e 6f 68 69 6f | 2d 73 74 61 74 65 2e 65 |acs.ohio|-state.e|
|000014c0| 64 75 3e 2c 0d 4e 61 74 | 68 61 6e 20 59 20 50 65 |du>,.Nat|han Y Pe|
|000014d0| 61 72 6c 73 74 65 69 6e | 20 3c 6e 70 65 61 72 6c |arlstein| <npearl|
|000014e0| 40 6d 61 67 6e 75 73 2e | 61 63 73 2e 6f 68 69 6f |@magnus.|acs.ohio|
|000014f0| 2d 73 74 61 74 65 2e 65 | 64 75 3e 20 77 72 6f 74 |-state.e|du> wrot|
|00001500| 65 3a 0d 3e 48 69 2c 20 | 41 63 63 6f 72 64 69 6e |e:.>Hi, |Accordin|
|00001510| 67 20 74 6f 20 54 48 49 | 4e 4b 20 52 65 66 65 72 |g to THI|NK Refer|
|00001520| 65 6e 63 65 20 74 68 65 | 72 65 20 61 72 65 20 32 |ence the|re are 2|
|00001530| 20 77 61 79 73 20 6f 66 | 20 75 73 69 6e 67 20 41 | ways of| using A|
|00001540| 70 70 6c 65 54 61 6c 6b | 2c 0d 3e 74 68 65 20 70 |ppleTalk|,.>the p|
|00001550| 72 65 66 65 72 65 64 20 | 6f 72 20 74 68 65 20 61 |refered |or the a|
|00001560| 6c 74 65 72 6e 61 74 65 | 20 69 6e 74 65 72 66 61 |lternate| interfa|
|00001570| 63 65 2e 20 20 49 66 20 | 49 20 75 73 65 20 74 68 |ce. If |I use th|
|00001580| 65 20 61 6c 74 65 72 6e | 61 74 65 0d 3e 69 6e 74 |e altern|ate.>int|
|00001590| 65 72 66 61 63 65 20 49 | 20 64 6f 6e 27 74 20 68 |erface I| don't h|
|000015a0| 61 76 65 20 74 6f 20 77 | 72 69 74 65 20 61 20 73 |ave to w|rite a s|
|000015b0| 6f 63 6b 65 74 20 6c 69 | 73 74 65 6e 65 72 2c 20 |ocket li|stener, |
|000015c0| 62 75 74 20 69 66 20 49 | 20 75 73 65 20 74 68 65 |but if I| use the|
|000015d0| 0d 3e 70 72 65 66 65 72 | 65 64 20 6d 65 74 68 6f |.>prefer|ed metho|
|000015e0| 64 20 49 20 64 6f 2e 20 | 20 57 68 61 74 20 77 6f |d I do. | What wo|
|000015f0| 75 6c 64 20 62 65 20 74 | 68 65 20 64 72 61 77 62 |uld be t|he drawb|
|00001600| 61 63 6b 73 20 6f 66 20 | 75 73 69 6e 67 20 74 68 |acks of |using th|
|00001610| 65 0d 3e 61 6c 74 65 72 | 6e 61 74 65 20 69 6e 74 |e.>alter|nate int|
|00001620| 65 72 66 61 63 65 3f 20 | 20 50 6c 65 61 73 65 20 |erface? | Please |
|00001630| 64 6f 6e 27 74 20 73 65 | 6e 64 20 67 75 65 73 73 |don't se|nd guess|
|00001640| 65 73 2e 0d 3e 54 68 61 | 6e 6b 73 0d 0d 53 69 6c |es..>Tha|nks..Sil|
|00001650| 6c 79 20 6d 65 2c 20 49 | 20 73 68 6f 75 6c 64 20 |ly me, I| should |
|00001660| 61 6c 73 6f 20 6d 65 6e | 74 69 6f 6e 20 74 68 61 |also men|tion tha|
|00001670| 74 20 49 20 68 61 76 65 | 20 74 6f 20 75 73 65 20 |t I have| to use |
|00001680| 44 44 50 2e 0d 0d 0d 2d | 2d 20 0d 44 61 72 6b 4e |DDP....-|- .DarkN|
|00001690| 61 74 65 72 20 2d 20 70 | 65 61 72 6c 73 74 65 69 |ater - p|earlstei|
|000016a0| 6e 2e 31 40 6f 73 75 2e | 65 64 75 0d 0d 2b 2b 2b |n.1@osu.|edu..+++|
|000016b0| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|000016c0| 2b 2b 2b 2b 2b 2b 2b 2b | 0d 0d 3e 46 72 6f 6d 20 |++++++++|..>From |
|000016d0| 6a 75 6d 70 6c 6f 6e 67 | 40 61 6f 6c 2e 63 6f 6d |jumplong|@aol.com|
|000016e0| 20 28 4a 75 6d 70 20 4c | 6f 6e 67 29 0d 44 61 74 | (Jump L|ong).Dat|
|000016f0| 65 3a 20 32 38 20 4a 75 | 6e 20 31 39 39 34 20 30 |e: 28 Ju|n 1994 0|
|00001700| 33 3a 32 38 3a 30 35 20 | 2d 30 34 30 30 0d 4f 72 |3:28:05 |-0400.Or|
|00001710| 67 61 6e 69 7a 61 74 69 | 6f 6e 3a 20 41 6d 65 72 |ganizati|on: Amer|
|00001720| 69 63 61 20 4f 6e 6c 69 | 6e 65 2c 20 49 6e 63 2e |ica Onli|ne, Inc.|
|00001730| 20 28 31 2d 38 30 30 2d | 38 32 37 2d 36 33 36 34 | (1-800-|827-6364|
|00001740| 29 0d 0d 49 6e 20 61 72 | 74 69 63 6c 65 20 3c 32 |)..In ar|ticle <2|
|00001750| 75 6e 33 74 64 24 38 33 | 64 40 63 68 61 72 6d 2e |un3td$83|d@charm.|
|00001760| 6d 61 67 6e 75 73 2e 61 | 63 73 2e 6f 68 69 6f 2d |magnus.a|cs.ohio-|
|00001770| 73 74 61 74 65 2e 65 64 | 75 3e 2c 0d 6e 70 65 61 |state.ed|u>,.npea|
|00001780| 72 6c 40 6d 61 67 6e 75 | 73 2e 61 63 73 2e 6f 68 |rl@magnu|s.acs.oh|
|00001790| 69 6f 2d 73 74 61 74 65 | 2e 65 64 75 20 28 4e 61 |io-state|.edu (Na|
|000017a0| 74 68 61 6e 20 59 20 50 | 65 61 72 6c 73 74 65 69 |than Y P|earlstei|
|000017b0| 6e 29 20 77 72 69 74 65 | 73 3a 0d 0d 3e 48 69 2c |n) write|s:..>Hi,|
|000017c0| 20 41 63 63 6f 72 64 69 | 6e 67 20 74 6f 20 54 48 | Accordi|ng to TH|
|000017d0| 49 4e 4b 20 52 65 66 65 | 72 65 6e 63 65 20 74 68 |INK Refe|rence th|
|000017e0| 65 72 65 20 61 72 65 20 | 32 20 77 61 79 73 20 6f |ere are |2 ways o|
|000017f0| 66 0d 3e 75 73 69 6e 67 | 20 41 70 70 6c 65 54 61 |f.>using| AppleTa|
|00001800| 6c 6b 2c 20 74 68 65 20 | 70 72 65 66 65 72 65 64 |lk, the |prefered|
|00001810| 20 6f 72 20 74 68 65 20 | 61 6c 74 65 72 6e 61 74 | or the |alternat|
|00001820| 65 20 69 6e 74 65 72 66 | 61 63 65 2e 0d 3e 49 66 |e interf|ace..>If|
|00001830| 20 49 20 75 73 65 20 74 | 68 65 20 61 6c 74 65 72 | I use t|he alter|
|00001840| 6e 61 74 65 20 69 6e 74 | 65 72 66 61 63 65 20 49 |nate int|erface I|
|00001850| 20 64 6f 6e 27 74 20 68 | 61 76 65 20 74 6f 20 77 | don't h|ave to w|
|00001860| 72 69 74 65 0d 3e 61 20 | 73 6f 63 6b 65 74 20 6c |rite.>a |socket l|
|00001870| 69 73 74 65 6e 65 72 2c | 20 62 75 74 20 69 66 20 |istener,| but if |
|00001880| 49 20 75 73 65 20 74 68 | 65 20 70 72 65 66 65 72 |I use th|e prefer|
|00001890| 65 64 20 6d 65 74 68 6f | 64 20 49 20 64 6f 2e 0d |ed metho|d I do..|
|000018a0| 3e 57 68 61 74 20 77 6f | 75 6c 64 20 62 65 20 74 |>What wo|uld be t|
|000018b0| 68 65 20 64 72 61 77 62 | 61 63 6b 73 20 6f 66 20 |he drawb|acks of |
|000018c0| 75 73 69 6e 67 20 74 68 | 65 20 61 6c 74 65 72 6e |using th|e altern|
|000018d0| 61 74 65 0d 3e 69 6e 74 | 65 72 66 61 63 65 3f 20 |ate.>int|erface? |
|000018e0| 20 50 6c 65 61 73 65 20 | 64 6f 6e 27 74 20 73 65 | Please |don't se|
|000018f0| 6e 64 20 67 75 65 73 73 | 65 73 2e 0d 0d 44 72 61 |nd guess|es...Dra|
|00001900| 77 62 61 63 6b 73 2e 2e | 2e 0d 31 29 20 41 70 70 |wbacks..|..1) App|
|00001910| 6c 65 20 68 61 73 20 64 | 72 6f 70 70 65 64 20 61 |le has d|ropped a|
|00001920| 6c 6c 20 73 75 70 70 6f | 72 74 20 6f 66 20 74 68 |ll suppo|rt of th|
|00001930| 65 20 61 6c 74 65 72 6e | 61 74 65 20 69 6e 74 65 |e altern|ate inte|
|00001940| 72 66 61 63 65 2e 0d 32 | 29 20 49 74 20 68 61 73 |rface..2|) It has|
|00001950| 20 62 75 67 73 20 74 68 | 61 74 27 6c 6c 20 6e 65 | bugs th|at'll ne|
|00001960| 76 65 72 20 62 65 20 66 | 69 78 65 64 2e 0d 33 29 |ver be f|ixed..3)|
|00001970| 20 49 20 68 61 76 65 20 | 61 6c 72 65 61 64 79 20 | I have |already |
|00001980| 77 72 69 74 74 65 6e 20 | 61 20 73 6f 63 6b 65 74 |written |a socket|
|00001990| 20 6c 69 73 74 65 6e 65 | 72 20 74 68 61 74 20 64 | listene|r that d|
|000019a0| 6f 65 73 20 65 76 65 72 | 79 74 68 69 6e 67 20 74 |oes ever|ything t|
|000019b0| 68 65 0d 6f 6e 65 20 73 | 75 70 70 6c 69 65 64 20 |he.one s|upplied |
|000019c0| 77 69 74 68 20 74 68 65 | 20 61 6c 74 65 72 6e 61 |with the| alterna|
|000019d0| 74 65 20 69 6e 74 65 72 | 66 61 63 65 20 64 6f 65 |te inter|face doe|
|000019e0| 73 2c 20 70 6c 75 73 20 | 6d 69 6e 65 20 62 75 66 |s, plus |mine buf|
|000019f0| 66 65 72 73 0d 70 61 63 | 6b 65 74 73 2e 20 49 74 |fers.pac|kets. It|
|00001a00| 20 69 73 20 69 6e 20 74 | 68 65 20 54 65 63 68 20 | is in t|he Tech |
|00001a10| 4e 6f 74 65 20 22 41 70 | 70 6c 65 54 61 6c 6b 2c |Note "Ap|pleTalk,|
|00001a20| 20 74 68 65 20 52 65 73 | 74 20 6f 66 20 74 68 65 | the Res|t of the|
|00001a30| 20 53 74 6f 72 79 22 0d | 61 6e 64 20 69 6e 20 74 | Story".|and in t|
|00001a40| 68 65 20 73 61 6d 70 6c | 65 20 22 4e 65 74 77 6f |he sampl|e "Netwo|
|00001a50| 72 6b 20 57 61 74 63 68 | 20 28 44 4d 5a 29 22 0d |rk Watch| (DMZ)".|
|00001a60| 34 29 20 54 68 65 20 61 | 6c 74 65 72 6e 61 74 65 |4) The a|lternate|
|00001a70| 20 69 6e 74 65 72 66 61 | 63 65 20 75 73 65 73 20 | interfa|ce uses |
|00001a80| 6e 65 74 77 6f 72 6b 20 | 65 76 65 6e 74 73 20 77 |network |events w|
|00001a90| 68 69 63 68 20 61 72 65 | 6e 27 74 20 73 75 70 70 |hich are|n't supp|
|00001aa0| 6f 72 74 65 64 0d 61 6e | 79 20 6c 6f 6e 67 65 72 |orted.an|y longer|
|00001ab0| 2e 0d 0d 49 73 20 74 68 | 61 74 20 65 6e 6f 75 67 |...Is th|at enoug|
|00001ac0| 68 3f 0d 0d 2d 20 4a 69 | 6d 20 4c 75 74 68 65 72 |h?..- Ji|m Luther|
|00001ad0| 0d 0d 0d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |...-----|--------|
|00001ae0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 0d 0d |--------|------..|
|00001af0| 3e 46 72 6f 6d 20 70 68 | 69 6c 69 70 40 63 73 2e |>From ph|ilip@cs.|
|00001b00| 77 69 74 73 2e 61 63 2e | 7a 61 20 28 50 68 69 6c |wits.ac.|za (Phil|
|00001b10| 69 70 20 4d 61 63 68 61 | 6e 69 63 6b 29 0d 53 75 |ip Macha|nick).Su|
|00001b20| 62 6a 65 63 74 3a 20 43 | 6f 64 65 57 61 72 72 69 |bject: C|odeWarri|
|00001b30| 6f 72 20 69 6e 6c 69 6e | 65 20 70 72 6f 62 6c 65 |or inlin|e proble|
|00001b40| 6d 0d 44 61 74 65 3a 20 | 32 36 20 4a 75 6e 20 31 |m.Date: |26 Jun 1|
|00001b50| 39 39 34 20 31 36 3a 35 | 38 3a 34 39 20 47 4d 54 |994 16:5|8:49 GMT|
|00001b60| 0d 4f 72 67 61 6e 69 7a | 61 74 69 6f 6e 3a 20 43 |.Organiz|ation: C|
|00001b70| 6f 6d 70 75 74 65 72 20 | 53 63 69 65 6e 63 65 20 |omputer |Science |
|00001b80| 44 65 70 74 2c 20 55 20 | 6f 66 20 57 69 74 77 61 |Dept, U |of Witwa|
|00001b90| 74 65 72 73 72 61 6e 64 | 0d 0d 45 76 65 6e 20 74 |tersrand|..Even t|
|00001ba0| 68 6f 75 67 68 20 61 20 | 6d 65 6d 62 65 72 20 66 |hough a |member f|
|00001bb0| 75 6e 63 74 69 6f 6e 20 | 69 73 20 64 65 63 6c 61 |unction |is decla|
|00001bc0| 72 65 64 20 69 6e 63 6c | 69 6e 65 20 69 6e 20 74 |red incl|ine in t|
|00001bd0| 68 65 20 63 6c 61 73 73 | 2c 20 69 66 20 49 20 68 |he class|, if I h|
|00001be0| 61 76 65 20 61 0d 63 61 | 6c 6c 20 0d 74 6f 20 69 |ave a.ca|ll .to i|
|00001bf0| 74 20 62 65 66 6f 72 65 | 20 69 74 73 20 63 6f 64 |t before| its cod|
|00001c00| 65 20 61 63 74 75 61 6c | 6c 79 20 61 70 70 65 61 |e actual|ly appea|
|00001c10| 72 73 2c 20 74 68 65 20 | 63 6f 6d 70 69 6c 65 72 |rs, the |compiler|
|00001c20| 20 63 6f 6d 70 6c 61 69 | 6e 73 20 22 69 6c 6c 65 | complai|ns "ille|
|00001c30| 67 61 6c 0d 69 6e 6c 69 | 6e 65 20 66 75 6e 63 74 |gal.inli|ne funct|
|00001c40| 69 6f 6e 22 20 77 68 65 | 6e 20 69 74 20 73 65 65 |ion" whe|n it see|
|00001c50| 73 20 74 68 65 20 63 6f | 64 65 20 77 69 74 68 20 |s the co|de with |
|00001c60| 69 6e 6c 69 6e 65 20 69 | 6e 20 66 72 6f 6e 74 20 |inline i|n front |
|00001c70| 6f 66 20 69 74 2e 0d 0d | 4d 6f 76 69 6e 67 20 74 |of it...|Moving t|
|00001c80| 68 65 20 63 6f 64 65 20 | 74 6f 20 62 65 66 6f 72 |he code |to befor|
|00001c90| 65 20 74 68 65 20 63 61 | 6c 6c 20 6d 61 6b 65 73 |e the ca|ll makes|
|00001ca0| 20 74 68 65 20 63 6f 6d | 70 69 6c 65 72 20 68 61 | the com|piler ha|
|00001cb0| 70 70 79 2e 0d 0d 49 6e | 20 6d 79 20 6f 70 69 6e |ppy...In| my opin|
|00001cc0| 69 6f 6e 20 74 68 69 73 | 20 69 73 20 61 20 62 75 |ion this| is a bu|
|00001cd0| 67 20 73 69 6e 63 65 20 | 6f 74 68 65 72 20 43 2b |g since |other C+|
|00001ce0| 2b 20 63 6f 6d 70 69 6c | 65 72 73 20 63 61 6e 20 |+ compil|ers can |
|00001cf0| 64 65 61 6c 20 77 69 74 | 68 20 74 68 69 73 0d 77 |deal wit|h this.w|
|00001d00| 69 74 68 20 6e 6f 20 70 | 72 6f 62 6c 65 6d 2e 0d |ith no p|roblem..|
|00001d10| 0d 54 68 65 20 77 6f 72 | 6b 61 72 6f 75 6e 64 20 |.The wor|karound |
|00001d20| 6f 66 20 6d 6f 76 69 6e | 67 20 74 68 65 20 69 6e |of movin|g the in|
|00001d30| 6c 69 6e 65 20 66 75 6e | 63 74 69 6f 6e 20 74 6f |line fun|ction to|
|00001d40| 20 62 65 66 6f 72 65 20 | 69 74 27 73 20 63 61 6c | before |it's cal|
|00001d50| 6c 65 64 20 69 73 20 6e | 6f 0d 62 69 67 20 70 72 |led is n|o.big pr|
|00001d60| 6f 62 6c 65 6d 20 28 49 | 20 63 61 6e 27 74 20 69 |oblem (I| can't i|
|00001d70| 6d 61 67 69 6e 65 20 61 | 6e 79 6f 6e 65 20 77 61 |magine a|nyone wa|
|00001d80| 6e 74 69 6e 67 20 6d 75 | 74 75 61 6c 6c 79 20 72 |nting mu|tually r|
|00001d90| 65 63 75 72 73 69 76 65 | 20 69 6e 6c 69 6e 65 73 |ecursive| inlines|
|00001da0| 20 2d 0d 77 68 61 74 20 | 77 6f 75 6c 64 20 74 68 | -.what |would th|
|00001db0| 65 79 20 65 78 70 61 6e | 64 20 74 6f 3f 29 2e 20 |ey expan|d to?). |
|00001dc0| 42 75 74 20 69 74 27 73 | 20 69 72 72 69 74 61 74 |But it's| irritat|
|00001dd0| 69 6e 67 20 62 65 63 61 | 75 73 65 20 69 74 20 6d |ing beca|use it m|
|00001de0| 65 61 6e 73 20 49 20 63 | 61 6e 27 74 0d 6b 65 65 |eans I c|an't.kee|
|00001df0| 70 20 6d 79 20 73 6f 75 | 72 63 65 20 66 69 6c 65 |p my sou|rce file|
|00001e00| 20 69 6e 20 74 68 65 20 | 6f 72 64 65 72 20 49 20 | in the |order I |
|00001e10| 77 61 6e 74 20 69 74 2e | 0d 2d 2d 20 0d 50 68 69 |want it.|.-- .Phi|
|00001e20| 6c 69 70 20 4d 61 63 68 | 61 6e 69 63 6b 20 20 20 |lip Mach|anick |
|00001e30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001e40| 70 68 69 6c 69 70 40 63 | 73 2e 77 69 74 73 2e 61 |philip@c|s.wits.a|
|00001e50| 63 2e 7a 61 0d 44 65 70 | 61 72 74 6d 65 6e 74 20 |c.za.Dep|artment |
|00001e60| 6f 66 20 43 6f 6d 70 75 | 74 65 72 20 53 63 69 65 |of Compu|ter Scie|
|00001e70| 6e 63 65 2c 20 55 6e 69 | 76 65 72 73 69 74 79 20 |nce, Uni|versity |
|00001e80| 6f 66 20 74 68 65 20 57 | 69 74 77 61 74 65 72 73 |of the W|itwaters|
|00001e90| 72 61 6e 64 0d 32 30 35 | 30 20 57 69 74 73 2c 20 |rand.205|0 Wits, |
|00001ea0| 53 6f 75 74 68 20 41 66 | 72 69 63 61 0d 70 68 6f |South Af|rica.pho|
|00001eb0| 6e 65 20 32 37 28 31 31 | 29 37 31 36 2d 33 33 30 |ne 27(11|)716-330|
|00001ec0| 39 20 20 66 61 78 20 32 | 37 28 31 31 29 33 33 39 |9 fax 2|7(11)339|
|00001ed0| 2d 37 39 36 35 0d 0d 2b | 2b 2b 2b 2b 2b 2b 2b 2b |-7965..+|++++++++|
|00001ee0| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|00001ef0| 2b 2b 0d 0d 3e 46 72 6f | 6d 20 22 41 6e 64 72 65 |++..>Fro|m "Andre|
|00001f00| 77 20 43 2e 20 50 6c 6f | 74 6b 69 6e 22 20 3c 61 |w C. Plo|tkin" <a|
|00001f10| 70 31 69 2b 40 61 6e 64 | 72 65 77 2e 63 6d 75 2e |p1i+@and|rew.cmu.|
|00001f20| 65 64 75 3e 0d 44 61 74 | 65 3a 20 53 75 6e 2c 20 |edu>.Dat|e: Sun, |
|00001f30| 32 36 20 4a 75 6e 20 31 | 39 39 34 20 31 33 3a 35 |26 Jun 1|994 13:5|
|00001f40| 33 3a 31 30 20 2d 30 34 | 30 30 0d 4f 72 67 61 6e |3:10 -04|00.Organ|
|00001f50| 69 7a 61 74 69 6f 6e 3a | 20 49 6e 66 6f 72 6d 61 |ization:| Informa|
|00001f60| 74 69 6f 6e 20 54 65 63 | 68 6e 6f 6c 6f 67 79 20 |tion Tec|hnology |
|00001f70| 43 65 6e 74 65 72 2c 20 | 43 61 72 6e 65 67 69 65 |Center, |Carnegie|
|00001f80| 20 4d 65 6c 6c 6f 6e 2c | 20 50 69 74 74 73 62 75 | Mellon,| Pittsbu|
|00001f90| 72 67 68 2c 20 50 41 0d | 0d 45 78 63 65 72 70 74 |rgh, PA.|.Excerpt|
|00001fa0| 73 20 66 72 6f 6d 20 6e | 65 74 6e 65 77 73 2e 63 |s from n|etnews.c|
|00001fb0| 6f 6d 70 2e 73 79 73 2e | 6d 61 63 2e 70 72 6f 67 |omp.sys.|mac.prog|
|00001fc0| 72 61 6d 6d 65 72 3a 20 | 32 36 2d 4a 75 6e 2d 39 |rammer: |26-Jun-9|
|00001fd0| 34 20 43 6f 64 65 57 61 | 72 72 69 6f 72 0d 69 6e |4 CodeWa|rrior.in|
|00001fe0| 6c 69 6e 65 20 70 72 6f | 62 6c 65 6d 20 50 68 69 |line pro|blem Phi|
|00001ff0| 6c 69 70 20 4d 61 63 68 | 61 6e 69 63 6b 40 63 73 |lip Mach|anick@cs|
|00002000| 2e 77 69 74 73 20 28 38 | 32 38 29 0d 0d 3e 20 45 |.wits (8|28)..> E|
|00002010| 76 65 6e 20 74 68 6f 75 | 67 68 20 61 20 6d 65 6d |ven thou|gh a mem|
|00002020| 62 65 72 20 66 75 6e 63 | 74 69 6f 6e 20 69 73 20 |ber func|tion is |
|00002030| 64 65 63 6c 61 72 65 64 | 20 69 6e 6c 69 6e 65 20 |declared| inline |
|00002040| 69 6e 20 74 68 65 20 63 | 6c 61 73 73 2c 20 69 66 |in the c|lass, if|
|00002050| 20 49 20 68 61 76 65 20 | 61 0d 3e 20 63 61 6c 6c | I have |a.> call|
|00002060| 20 0d 3e 20 74 6f 20 69 | 74 20 62 65 66 6f 72 65 | .> to i|t before|
|00002070| 20 69 74 73 20 63 6f 64 | 65 20 61 63 74 75 61 6c | its cod|e actual|
|00002080| 6c 79 20 61 70 70 65 61 | 72 73 2c 20 74 68 65 20 |ly appea|rs, the |
|00002090| 63 6f 6d 70 69 6c 65 72 | 20 63 6f 6d 70 6c 61 69 |compiler| complai|
|000020a0| 6e 73 20 22 69 6c 6c 65 | 67 61 6c 0d 3e 20 69 6e |ns "ille|gal.> in|
|000020b0| 6c 69 6e 65 20 66 75 6e | 63 74 69 6f 6e 22 20 77 |line fun|ction" w|
|000020c0| 68 65 6e 20 69 74 20 73 | 65 65 73 20 74 68 65 20 |hen it s|ees the |
|000020d0| 63 6f 64 65 20 77 69 74 | 68 20 69 6e 6c 69 6e 65 |code wit|h inline|
|000020e0| 20 69 6e 20 66 72 6f 6e | 74 20 6f 66 20 69 74 2e | in fron|t of it.|
|000020f0| 0d 0d 3e 20 4d 6f 76 69 | 6e 67 20 74 68 65 20 63 |..> Movi|ng the c|
|00002100| 6f 64 65 20 74 6f 20 62 | 65 66 6f 72 65 20 74 68 |ode to b|efore th|
|00002110| 65 20 63 61 6c 6c 20 6d | 61 6b 65 73 20 74 68 65 |e call m|akes the|
|00002120| 20 63 6f 6d 70 69 6c 65 | 72 20 68 61 70 70 79 2e | compile|r happy.|
|00002130| 0d 0d 3e 20 49 6e 20 6d | 79 20 6f 70 69 6e 69 6f |..> In m|y opinio|
|00002140| 6e 20 74 68 69 73 20 69 | 73 20 61 20 62 75 67 20 |n this i|s a bug |
|00002150| 73 69 6e 63 65 20 6f 74 | 68 65 72 20 43 2b 2b 20 |since ot|her C++ |
|00002160| 63 6f 6d 70 69 6c 65 72 | 73 20 63 61 6e 20 64 65 |compiler|s can de|
|00002170| 61 6c 20 77 69 74 68 20 | 74 68 69 73 0d 3e 20 77 |al with |this.> w|
|00002180| 69 74 68 20 6e 6f 20 70 | 72 6f 62 6c 65 6d 2e 0d |ith no p|roblem..|
|00002190| 0d 49 74 27 73 20 76 65 | 72 79 20 6c 69 6b 65 6c |.It's ve|ry likel|
|000021a0| 79 20 74 68 61 74 20 74 | 68 65 20 6f 74 68 65 72 |y that t|he other|
|000021b0| 20 43 2b 2b 20 63 6f 6d | 70 69 6c 65 72 73 20 61 | C++ com|pilers a|
|000021c0| 72 65 20 64 65 61 6c 69 | 6e 67 20 77 69 74 68 20 |re deali|ng with |
|000021d0| 69 74 20 62 79 0d 69 67 | 6e 6f 72 69 6e 67 20 74 |it by.ig|noring t|
|000021e0| 68 65 20 22 69 6e 6c 69 | 6e 65 22 20 2d 2d 20 74 |he "inli|ne" -- t|
|000021f0| 68 61 74 20 69 73 2c 20 | 74 68 65 79 20 67 65 6e |hat is, |they gen|
|00002200| 65 72 61 74 65 20 61 20 | 6e 6f 72 6d 61 6c 20 6d |erate a |normal m|
|00002210| 65 6d 62 65 72 20 66 75 | 6e 63 74 69 6f 6e 0d 77 |ember fu|nction.w|
|00002220| 68 69 63 68 20 69 73 20 | 63 61 6c 6c 65 64 20 77 |hich is |called w|
|00002230| 69 74 68 20 74 68 65 20 | 75 73 75 61 6c 20 63 61 |ith the |usual ca|
|00002240| 6c 6c 69 6e 67 20 6d 65 | 63 68 61 6e 69 73 6d 2e |lling me|chanism.|
|00002250| 20 54 68 69 73 20 69 73 | 20 65 61 73 69 65 72 20 | This is| easier |
|00002260| 74 68 61 6e 0d 67 6f 69 | 6e 67 20 74 68 72 6f 75 |than.goi|ng throu|
|00002270| 67 68 20 74 68 65 20 72 | 65 73 74 20 6f 66 20 74 |gh the r|est of t|
|00002280| 68 65 20 63 6f 6d 70 69 | 6c 61 74 69 6f 6e 20 74 |he compi|lation t|
|00002290| 6f 20 66 69 6e 64 20 74 | 68 65 20 69 6e 6c 69 6e |o find t|he inlin|
|000022a0| 65 20 64 65 66 69 6e 69 | 74 69 6f 6e 2c 0d 61 6e |e defini|tion,.an|
|000022b0| 64 20 74 68 65 6e 20 67 | 6f 69 6e 67 20 62 61 63 |d then g|oing bac|
|000022c0| 6b 20 74 6f 20 63 6f 6d | 70 69 6c 65 20 74 68 65 |k to com|pile the|
|000022d0| 20 66 75 6e 63 74 69 6f | 6e 20 74 68 61 74 20 63 | functio|n that c|
|000022e0| 61 6c 6c 73 20 74 68 65 | 20 69 6e 6c 69 6e 65 0d |alls the| inline.|
|000022f0| 66 75 6e 63 74 69 6f 6e | 2e 0d 0d 49 27 6d 20 6e |function|...I'm n|
|00002300| 6f 74 20 63 65 72 74 61 | 69 6e 20 74 68 61 74 20 |ot certa|in that |
|00002310| 74 68 65 79 27 72 65 20 | 64 6f 69 6e 67 20 69 74 |they're |doing it|
|00002320| 20 74 68 69 73 20 77 61 | 79 2c 20 62 75 74 20 79 | this wa|y, but y|
|00002330| 6f 75 20 6d 69 67 68 74 | 20 77 61 6e 74 20 74 6f |ou might| want to|
|00002340| 0d 63 72 65 61 74 65 20 | 61 20 74 65 73 74 20 63 |.create |a test c|
|00002350| 61 73 65 20 61 6e 64 20 | 65 78 61 6d 69 6e 65 20 |ase and |examine |
|00002360| 74 68 65 20 61 73 73 65 | 6d 62 6c 79 20 63 6f 64 |the asse|mbly cod|
|00002370| 65 20 74 6f 20 73 65 65 | 2e 20 49 74 27 73 20 73 |e to see|. It's s|
|00002380| 6f 6d 65 74 68 69 6e 67 | 0d 74 6f 20 63 6f 6e 73 |omething|.to cons|
|00002390| 69 64 65 72 3b 20 69 74 | 27 73 20 70 6f 73 73 69 |ider; it|'s possi|
|000023a0| 62 6c 65 20 66 6f 72 20 | 61 20 43 2b 2b 20 70 72 |ble for |a C++ pr|
|000023b0| 6f 67 72 61 6d 6d 65 72 | 20 74 6f 20 67 65 74 20 |ogrammer| to get |
|000023c0| 73 69 6c 65 6e 74 6c 79 | 20 68 6f 72 6b 65 64 0d |silently| horked.|
|000023d0| 62 79 20 74 68 69 73 2c | 20 77 68 65 72 65 20 74 |by this,| where t|
|000023e0| 68 65 20 63 6f 6d 70 69 | 6c 65 72 20 69 73 6e 27 |he compi|ler isn'|
|000023f0| 74 20 67 69 76 69 6e 67 | 20 68 69 6d 20 74 68 65 |t giving| him the|
|00002400| 20 69 6e 6c 69 6e 69 6e | 67 20 6f 70 74 69 6d 69 | inlinin|g optimi|
|00002410| 7a 61 74 69 6f 6e 73 0d | 74 68 61 74 20 68 65 20 |zations.|that he |
|00002420| 77 61 6e 74 73 2e 0d 0d | 49 66 20 43 6f 64 65 57 |wants...|If CodeW|
|00002430| 61 72 72 69 6f 72 20 69 | 73 6e 27 74 20 77 69 6c |arrior i|sn't wil|
|00002440| 6c 69 6e 67 20 74 6f 20 | 64 6f 20 74 68 61 74 2c |ling to |do that,|
|00002450| 20 69 74 27 73 20 61 20 | 70 72 6f 62 6c 65 6d 20 | it's a |problem |
|00002460| 28 77 68 61 74 20 79 6f | 75 27 72 65 0d 64 6f 69 |(what yo|u're.doi|
|00002470| 6e 67 20 69 73 20 6c 65 | 67 61 6c 20 43 2b 2b 2c |ng is le|gal C++,|
|00002480| 20 49 20 62 65 6c 69 65 | 76 65 29 20 62 75 74 20 | I belie|ve) but |
|00002490| 69 74 20 64 6f 65 73 20 | 70 6f 69 6e 74 20 6f 75 |it does |point ou|
|000024a0| 74 20 74 68 65 20 73 69 | 6c 65 6e 74 20 70 72 6f |t the si|lent pro|
|000024b0| 62 6c 65 6d 0d 79 6f 75 | 20 77 6f 75 6c 64 20 68 |blem.you| would h|
|000024c0| 61 76 65 20 77 69 74 68 | 20 73 6f 6d 65 20 6f 74 |ave with| some ot|
|000024d0| 68 65 72 20 63 6f 6d 70 | 69 6c 65 72 73 2e 0d 0d |her comp|ilers...|
|000024e0| 2d 2d 5a 0d 0d 22 41 6e | 64 20 41 68 6f 6c 69 62 |--Z.."An|d Aholib|
|000024f0| 61 6d 61 68 20 62 61 72 | 65 20 4a 65 75 73 68 2c |amah bar|e Jeush,|
|00002500| 20 61 6e 64 20 4a 61 61 | 6c 61 6d 2c 20 61 6e 64 | and Jaa|lam, and|
|00002510| 20 4b 6f 72 61 68 3a 20 | 74 68 65 73 65 20 77 65 | Korah: |these we|
|00002520| 72 65 20 74 68 65 20 62 | 6f 72 6f 67 6f 76 65 73 |re the b|orogoves|
|00002530| 2e 2e 2e 22 0d 0d 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |..."..++|++++++++|
|00002540| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|00002550| 2b 0d 0d 3e 46 72 6f 6d | 20 6a 6f 68 6e 6d 63 65 |+..>From| johnmce|
|00002560| 40 77 6f 72 6c 64 2e 73 | 74 64 2e 63 6f 6d 20 28 |@world.s|td.com (|
|00002570| 4a 6f 68 6e 20 4d 63 45 | 6e 65 72 6e 65 79 29 0d |John McE|nerney).|
|00002580| 44 61 74 65 3a 20 53 75 | 6e 2c 20 32 36 20 4a 75 |Date: Su|n, 26 Ju|
|00002590| 6e 20 31 39 39 34 20 32 | 33 3a 33 36 3a 32 39 20 |n 1994 2|3:36:29 |
|000025a0| 47 4d 54 0d 4f 72 67 61 | 6e 69 7a 61 74 69 6f 6e |GMT.Orga|nization|
|000025b0| 3a 20 54 68 65 20 57 6f | 72 6c 64 20 50 75 62 6c |: The Wo|rld Publ|
|000025c0| 69 63 20 41 63 63 65 73 | 73 20 55 4e 49 58 2c 20 |ic Acces|s UNIX, |
|000025d0| 42 72 6f 6f 6b 6c 69 6e | 65 2c 20 4d 41 0d 0d 70 |Brooklin|e, MA..p|
|000025e0| 68 69 6c 69 70 40 63 73 | 2e 77 69 74 73 2e 61 63 |hilip@cs|.wits.ac|
|000025f0| 2e 7a 61 20 28 50 68 69 | 6c 69 70 20 4d 61 63 68 |.za (Phi|lip Mach|
|00002600| 61 6e 69 63 6b 29 20 77 | 72 69 74 65 73 3a 0d 0d |anick) w|rites:..|
|00002610| 3e 45 76 65 6e 20 74 68 | 6f 75 67 68 20 61 20 6d |>Even th|ough a m|
|00002620| 65 6d 62 65 72 20 66 75 | 6e 63 74 69 6f 6e 20 69 |ember fu|nction i|
|00002630| 73 20 64 65 63 6c 61 72 | 65 64 20 69 6e 63 6c 69 |s declar|ed incli|
|00002640| 6e 65 20 69 6e 20 74 68 | 65 20 63 6c 61 73 73 2c |ne in th|e class,|
|00002650| 20 69 66 20 49 20 68 61 | 76 65 20 61 0d 3e 63 61 | if I ha|ve a.>ca|
|00002660| 6c 6c 20 74 6f 20 69 74 | 20 62 65 66 6f 72 65 20 |ll to it| before |
|00002670| 69 74 73 20 63 6f 64 65 | 20 61 63 74 75 61 6c 6c |its code| actuall|
|00002680| 79 20 61 70 70 65 61 72 | 73 2c 20 74 68 65 20 63 |y appear|s, the c|
|00002690| 6f 6d 70 69 6c 65 72 20 | 63 6f 6d 70 6c 61 69 6e |ompiler |complain|
|000026a0| 73 20 22 69 6c 6c 65 67 | 61 6c 0d 3e 69 6e 6c 69 |s "illeg|al.>inli|
|000026b0| 6e 65 20 66 75 6e 63 74 | 69 6f 6e 22 20 77 68 65 |ne funct|ion" whe|
|000026c0| 6e 20 69 74 20 73 65 65 | 73 20 74 68 65 20 63 6f |n it see|s the co|
|000026d0| 64 65 20 77 69 74 68 20 | 69 6e 6c 69 6e 65 20 69 |de with |inline i|
|000026e0| 6e 20 66 72 6f 6e 74 20 | 6f 66 20 69 74 2e 0d 3e |n front |of it..>|
|000026f0| 4d 6f 76 69 6e 67 20 74 | 68 65 20 63 6f 64 65 20 |Moving t|he code |
|00002700| 74 6f 20 62 65 66 6f 72 | 65 20 74 68 65 20 63 61 |to befor|e the ca|
|00002710| 6c 6c 20 6d 61 6b 65 73 | 20 74 68 65 20 63 6f 6d |ll makes| the com|
|00002720| 70 69 6c 65 72 20 68 61 | 70 70 79 2e 0d 0d 3e 49 |piler ha|ppy...>I|
|00002730| 6e 20 6d 79 20 6f 70 69 | 6e 69 6f 6e 20 74 68 69 |n my opi|nion thi|
|00002740| 73 20 69 73 20 61 20 62 | 75 67 20 73 69 6e 63 65 |s is a b|ug since|
|00002750| 20 6f 74 68 65 72 20 43 | 2b 2b 20 63 6f 6d 70 69 | other C|++ compi|
|00002760| 6c 65 72 73 20 63 61 6e | 20 64 65 61 6c 20 77 69 |lers can| deal wi|
|00002770| 74 68 20 74 68 69 73 0d | 3e 77 69 74 68 20 6e 6f |th this.|>with no|
|00002780| 20 70 72 6f 62 6c 65 6d | 2e 0d 0d 54 68 69 73 20 | problem|...This |
|00002790| 69 73 20 61 20 68 61 7a | 79 20 61 72 65 61 2e 20 |is a haz|y area. |
|000027a0| 53 65 65 20 41 52 4d 20 | 70 2e 20 31 30 34 20 66 |See ARM |p. 104 f|
|000027b0| 6f 72 20 73 6f 6d 65 20 | 65 78 61 6d 70 6c 65 73 |or some |examples|
|000027c0| 2e 20 49 74 20 69 73 20 | 61 6e 20 65 72 72 6f 72 |. It is |an error|
|000027d0| 20 74 6f 20 0d 64 65 66 | 69 6e 65 20 61 20 6d 65 | to .def|ine a me|
|000027e0| 6d 62 65 72 20 66 75 6e | 63 74 69 6f 6e 20 61 73 |mber fun|ction as|
|000027f0| 20 27 69 6e 6c 69 6e 65 | 27 20 61 66 74 65 72 20 | 'inline|' after |
|00002800| 69 74 20 68 61 73 20 61 | 6c 72 65 61 64 79 20 62 |it has a|lready b|
|00002810| 65 65 6e 20 63 61 6c 6c | 65 64 2e 20 49 74 20 0d |een call|ed. It .|
|00002820| 69 73 20 6e 6f 74 20 63 | 6c 65 61 72 20 66 72 6f |is not c|lear fro|
|00002830| 6d 20 74 68 65 20 6e 6f | 74 65 73 20 77 68 65 74 |m the no|tes whet|
|00002840| 68 65 72 20 69 74 20 69 | 73 20 6c 65 67 61 6c 20 |her it i|s legal |
|00002850| 69 66 20 74 68 65 20 66 | 75 6e 63 74 69 6f 6e 20 |if the f|unction |
|00002860| 77 61 73 20 0d 64 65 63 | 6c 61 72 65 64 20 27 69 |was .dec|lared 'i|
|00002870| 6e 6c 69 6e 65 27 20 28 | 62 75 74 20 6e 6f 74 20 |nline' (|but not |
|00002880| 64 65 66 69 6e 65 64 29 | 20 69 6e 20 74 68 65 20 |defined)| in the |
|00002890| 63 6c 61 73 73 2e 20 49 | 27 64 20 73 61 79 20 69 |class. I|'d say i|
|000028a0| 74 20 69 73 20 70 72 6f | 62 61 62 6c 79 20 0d 6c |t is pro|bably .l|
|000028b0| 65 67 61 6c 2c 20 61 6e | 64 20 77 65 20 61 72 65 |egal, an|d we are|
|000028c0| 20 62 65 69 6e 67 20 74 | 6f 6f 20 73 74 72 69 63 | being t|oo stric|
|000028d0| 74 3b 20 49 27 6c 6c 20 | 70 61 73 73 20 69 74 20 |t; I'll |pass it |
|000028e0| 6f 6e 20 74 6f 20 74 68 | 65 20 43 2b 2b 20 66 72 |on to th|e C++ fr|
|000028f0| 6f 6e 74 2d 65 6e 64 20 | 0d 61 72 63 68 69 74 65 |ont-end |.archite|
|00002900| 63 74 2e 0d 0d 2d 2d 20 | 4a 6f 68 6e 20 4d 63 45 |ct...-- |John McE|
|00002910| 6e 65 72 6e 65 79 2c 20 | 4d 65 74 72 6f 77 65 72 |nerney, |Metrower|
|00002920| 6b 73 20 50 6f 77 65 72 | 50 43 20 50 72 6f 64 75 |ks Power|PC Produ|
|00002930| 63 74 20 41 72 63 68 69 | 74 65 63 74 0d 0d 2b 2b |ct Archi|tect..++|
|00002940| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|00002950| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 0d 0d 3e 46 72 6f 6d |++++++++|+..>From|
|00002960| 20 70 68 69 6c 69 70 40 | 63 73 2e 77 69 74 73 2e | philip@|cs.wits.|
|00002970| 61 63 2e 7a 61 20 28 50 | 68 69 6c 69 70 20 4d 61 |ac.za (P|hilip Ma|
|00002980| 63 68 61 6e 69 63 6b 29 | 0d 44 61 74 65 3a 20 32 |chanick)|.Date: 2|
|00002990| 37 20 4a 75 6e 20 31 39 | 39 34 20 31 33 3a 33 32 |7 Jun 19|94 13:32|
|000029a0| 3a 32 33 20 47 4d 54 0d | 4f 72 67 61 6e 69 7a 61 |:23 GMT.|Organiza|
|000029b0| 74 69 6f 6e 3a 20 43 6f | 6d 70 75 74 65 72 20 53 |tion: Co|mputer S|
|000029c0| 63 69 65 6e 63 65 20 44 | 65 70 74 2c 20 55 20 6f |cience D|ept, U o|
|000029d0| 66 20 57 69 74 77 61 74 | 65 72 73 72 61 6e 64 0d |f Witwat|ersrand.|
|000029e0| 0d 49 6e 20 61 72 74 69 | 63 6c 65 20 3c 43 73 31 |.In arti|cle <Cs1|
|000029f0| 32 77 75 2e 43 79 6e 40 | 77 6f 72 6c 64 2e 73 74 |2wu.Cyn@|world.st|
|00002a00| 64 2e 63 6f 6d 3e 2c 20 | 6a 6f 68 6e 6d 63 65 40 |d.com>, |johnmce@|
|00002a10| 77 6f 72 6c 64 2e 73 74 | 64 2e 63 6f 6d 20 28 4a |world.st|d.com (J|
|00002a20| 6f 68 6e 0d 4d 63 45 6e | 65 72 6e 65 79 29 20 77 |ohn.McEn|erney) w|
|00002a30| 72 6f 74 65 3a 0d 0d 3e | 20 70 68 69 6c 69 70 40 |rote:..>| philip@|
|00002a40| 63 73 2e 77 69 74 73 2e | 61 63 2e 7a 61 20 28 50 |cs.wits.|ac.za (P|
|00002a50| 68 69 6c 69 70 20 4d 61 | 63 68 61 6e 69 63 6b 29 |hilip Ma|chanick)|
|00002a60| 20 77 72 69 74 65 73 3a | 0d 3e 20 0d 3e 20 3e 45 | writes:|.> .> >E|
|00002a70| 76 65 6e 20 74 68 6f 75 | 67 68 20 61 20 6d 65 6d |ven thou|gh a mem|
|00002a80| 62 65 72 20 66 75 6e 63 | 74 69 6f 6e 20 69 73 20 |ber func|tion is |
|00002a90| 64 65 63 6c 61 72 65 64 | 20 69 6e 63 6c 69 6e 65 |declared| incline|
|00002aa0| 20 69 6e 20 74 68 65 20 | 63 6c 61 73 73 2c 20 69 | in the |class, i|
|00002ab0| 66 20 49 20 68 61 76 65 | 20 61 0d 3e 20 3e 63 61 |f I have| a.> >ca|
|00002ac0| 6c 6c 20 74 6f 20 69 74 | 20 62 65 66 6f 72 65 20 |ll to it| before |
|00002ad0| 69 74 73 20 63 6f 64 65 | 20 61 63 74 75 61 6c 6c |its code| actuall|
|00002ae0| 79 20 61 70 70 65 61 72 | 73 2c 20 74 68 65 20 63 |y appear|s, the c|
|00002af0| 6f 6d 70 69 6c 65 72 20 | 63 6f 6d 70 6c 61 69 6e |ompiler |complain|
|00002b00| 73 20 22 69 6c 6c 65 67 | 61 6c 0d 3e 20 3e 69 6e |s "illeg|al.> >in|
|00002b10| 6c 69 6e 65 20 66 75 6e | 63 74 69 6f 6e 22 20 77 |line fun|ction" w|
|00002b20| 68 65 6e 20 69 74 20 73 | 65 65 73 20 74 68 65 20 |hen it s|ees the |
|00002b30| 63 6f 64 65 20 77 69 74 | 68 20 69 6e 6c 69 6e 65 |code wit|h inline|
|00002b40| 20 69 6e 20 66 72 6f 6e | 74 20 6f 66 20 69 74 2e | in fron|t of it.|
|00002b50| 0d 3e 20 3e 4d 6f 76 69 | 6e 67 20 74 68 65 20 63 |.> >Movi|ng the c|
|00002b60| 6f 64 65 20 74 6f 20 62 | 65 66 6f 72 65 20 74 68 |ode to b|efore th|
|00002b70| 65 20 63 61 6c 6c 20 6d | 61 6b 65 73 20 74 68 65 |e call m|akes the|
|00002b80| 20 63 6f 6d 70 69 6c 65 | 72 20 68 61 70 70 79 2e | compile|r happy.|
|00002b90| 0d 3e 20 0d 3e 20 3e 49 | 6e 20 6d 79 20 6f 70 69 |.> .> >I|n my opi|
|00002ba0| 6e 69 6f 6e 20 74 68 69 | 73 20 69 73 20 61 20 62 |nion thi|s is a b|
|00002bb0| 75 67 20 73 69 6e 63 65 | 20 6f 74 68 65 72 20 43 |ug since| other C|
|00002bc0| 2b 2b 20 63 6f 6d 70 69 | 6c 65 72 73 20 63 61 6e |++ compi|lers can|
|00002bd0| 20 64 65 61 6c 20 77 69 | 74 68 20 74 68 69 73 0d | deal wi|th this.|
|00002be0| 3e 20 3e 77 69 74 68 20 | 6e 6f 20 70 72 6f 62 6c |> >with |no probl|
|00002bf0| 65 6d 2e 0d 3e 20 0d 3e | 20 54 68 69 73 20 69 73 |em..> .>| This is|
|00002c00| 20 61 20 68 61 7a 79 20 | 61 72 65 61 2e 20 53 65 | a hazy |area. Se|
|00002c10| 65 20 41 52 4d 20 70 2e | 20 31 30 34 20 66 6f 72 |e ARM p.| 104 for|
|00002c20| 20 73 6f 6d 65 20 65 78 | 61 6d 70 6c 65 73 2e 20 | some ex|amples. |
|00002c30| 49 74 20 69 73 20 61 6e | 20 65 72 72 6f 72 20 74 |It is an| error t|
|00002c40| 6f 20 0d 3e 20 64 65 66 | 69 6e 65 20 61 20 6d 65 |o .> def|ine a me|
|00002c50| 6d 62 65 72 20 66 75 6e | 63 74 69 6f 6e 20 61 73 |mber fun|ction as|
|00002c60| 20 27 69 6e 6c 69 6e 65 | 27 20 61 66 74 65 72 20 | 'inline|' after |
|00002c70| 69 74 20 68 61 73 20 61 | 6c 72 65 61 64 79 20 62 |it has a|lready b|
|00002c80| 65 65 6e 20 63 61 6c 6c | 65 64 2e 20 49 74 20 0d |een call|ed. It .|
|00002c90| 3e 20 69 73 20 6e 6f 74 | 20 63 6c 65 61 72 20 66 |> is not| clear f|
|00002ca0| 72 6f 6d 20 74 68 65 20 | 6e 6f 74 65 73 20 77 68 |rom the |notes wh|
|00002cb0| 65 74 68 65 72 20 69 74 | 20 69 73 20 6c 65 67 61 |ether it| is lega|
|00002cc0| 6c 20 69 66 20 74 68 65 | 20 66 75 6e 63 74 69 6f |l if the| functio|
|00002cd0| 6e 20 77 61 73 20 0d 3e | 20 64 65 63 6c 61 72 65 |n was .>| declare|
|00002ce0| 64 20 27 69 6e 6c 69 6e | 65 27 20 28 62 75 74 20 |d 'inlin|e' (but |
|00002cf0| 6e 6f 74 20 64 65 66 69 | 6e 65 64 29 20 69 6e 20 |not defi|ned) in |
|00002d00| 74 68 65 20 63 6c 61 73 | 73 2e 20 49 27 64 20 73 |the clas|s. I'd s|
|00002d10| 61 79 20 69 74 20 69 73 | 20 70 72 6f 62 61 62 6c |ay it is| probabl|
|00002d20| 79 20 0d 3e 20 6c 65 67 | 61 6c 2c 20 61 6e 64 20 |y .> leg|al, and |
|00002d30| 77 65 20 61 72 65 20 62 | 65 69 6e 67 20 74 6f 6f |we are b|eing too|
|00002d40| 20 73 74 72 69 63 74 3b | 20 49 27 6c 6c 20 70 61 | strict;| I'll pa|
|00002d50| 73 73 20 69 74 20 6f 6e | 20 74 6f 20 74 68 65 20 |ss it on| to the |
|00002d60| 43 2b 2b 20 66 72 6f 6e | 74 2d 65 6e 64 20 0d 3e |C++ fron|t-end .>|
|00002d70| 20 61 72 63 68 69 74 65 | 63 74 2e 0d 0d 59 6f 75 | archite|ct...You|
|00002d80| 27 72 65 20 72 69 67 68 | 74 20 2d 20 69 74 20 69 |'re righ|t - it i|
|00002d90| 73 20 68 61 7a 79 2e 20 | 48 6f 77 65 76 65 72 20 |s hazy. |However |
|00002da0| 49 20 64 6f 6e 27 74 20 | 74 68 69 6e 6b 20 61 6e |I don't |think an|
|00002db0| 20 65 72 72 6f 72 20 73 | 68 6f 75 6c 64 20 62 65 | error s|hould be|
|00002dc0| 0d 72 65 70 6f 72 74 65 | 64 2e 20 49 6e 20 63 6f |.reporte|d. In co|
|00002dd0| 6d 6d 65 6e 74 61 72 79 | 20 6f 6e 20 70 20 31 30 |mmentary| on p 10|
|00002de0| 32 2c 20 73 65 65 20 74 | 68 65 20 6c 69 73 74 20 |2, see t|he list |
|00002df0| 6f 66 20 72 65 61 73 6f | 6e 73 20 61 6e 20 6f 72 |of reaso|ns an or|
|00002e00| 64 69 6e 61 72 79 20 63 | 61 6c 6c 0d 6d 61 79 20 |dinary c|all.may |
|00002e10| 62 65 20 67 65 6e 65 72 | 61 74 65 64 20 66 6f 72 |be gener|ated for|
|00002e20| 20 61 6e 20 69 6e 6c 69 | 6e 65 20 66 75 6e 63 74 | an inli|ne funct|
|00002e30| 69 6f 6e 3a 0d 20 20 2d | 20 41 6e 20 69 6e 6c 69 |ion:. -| An inli|
|00002e40| 6e 65 20 66 75 6e 63 74 | 69 6f 6e 20 77 61 73 20 |ne funct|ion was |
|00002e50| 69 6e 76 6f 6b 65 64 20 | 69 6e 20 61 20 70 72 6f |invoked |in a pro|
|00002e60| 67 72 61 6d 20 62 65 66 | 6f 72 65 20 69 74 20 77 |gram bef|ore it w|
|00002e70| 61 73 20 64 65 66 69 6e | 65 64 0d 0d 49 6e 20 61 |as defin|ed..In a|
|00002e80| 20 63 61 73 65 20 6c 69 | 6b 65 20 74 68 69 73 20 | case li|ke this |
|00002e90| 74 68 65 20 63 6f 6d 70 | 69 6c 65 72 20 68 61 73 |the comp|iler has|
|00002ea0| 20 74 68 65 20 6f 70 74 | 69 6f 6e 20 6f 66 20 65 | the opt|ion of e|
|00002eb0| 69 74 68 65 72 20 62 61 | 63 6b 70 61 74 63 68 69 |ither ba|ckpatchi|
|00002ec0| 6e 67 20 74 68 65 0d 69 | 6e 6c 69 6e 65 20 69 6e |ng the.i|nline in|
|00002ed0| 20 69 66 20 61 20 63 61 | 6c 6c 20 69 73 20 73 65 | if a ca|ll is se|
|00002ee0| 65 6e 20 62 65 66 6f 72 | 65 20 74 68 65 20 66 75 |en befor|e the fu|
|00002ef0| 6e 63 74 69 6f 6e 20 64 | 65 66 69 6e 69 74 69 6f |nction d|efinitio|
|00002f00| 6e 2c 20 6f 72 20 67 65 | 6e 65 72 61 74 69 6e 67 |n, or ge|nerating|
|00002f10| 0d 63 6f 64 65 20 66 6f | 72 20 61 20 6e 6f 6e 2d |.code fo|r a non-|
|00002f20| 69 6e 6c 69 6e 65 20 76 | 65 72 73 69 6f 6e 20 6f |inline v|ersion o|
|00002f30| 66 20 74 68 65 20 66 75 | 6e 63 74 69 6f 6e 2e 20 |f the fu|nction. |
|00002f40| 4d 79 20 76 65 72 73 69 | 6f 6e 20 6f 66 20 63 66 |My versi|on of cf|
|00002f50| 72 6f 6e 74 20 6f 6e 20 | 55 4e 49 58 0d 64 6f 65 |ront on |UNIX.doe|
|00002f60| 73 20 74 68 65 20 6c 61 | 74 74 65 72 2c 20 61 6e |s the la|tter, an|
|00002f70| 64 20 73 77 69 74 63 68 | 65 73 20 74 6f 20 75 73 |d switch|es to us|
|00002f80| 69 6e 67 20 69 6e 6c 69 | 6e 69 6e 67 20 61 66 74 |ing inli|ning aft|
|00002f90| 65 72 20 69 74 27 73 20 | 73 65 65 6e 20 74 68 65 |er it's |seen the|
|00002fa0| 0d 64 65 66 69 6e 69 74 | 69 6f 6e 20 6f 66 20 74 |.definit|ion of t|
|00002fb0| 68 65 20 69 6e 6c 69 6e | 65 20 66 75 6e 63 74 69 |he inlin|e functi|
|00002fc0| 6f 6e 2e 0d 0d 54 68 65 | 20 6b 65 79 20 68 65 72 |on...The| key her|
|00002fd0| 65 20 69 73 20 74 68 61 | 74 20 74 68 65 20 22 69 |e is tha|t the "i|
|00002fe0| 6e 6c 69 6e 65 22 20 63 | 61 6e 20 62 65 20 69 67 |nline" c|an be ig|
|00002ff0| 6e 6f 72 65 64 20 28 70 | 20 39 39 29 2e 20 54 68 |nored (p| 99). Th|
|00003000| 69 73 20 69 73 20 77 68 | 61 74 20 61 0d 63 6f 6d |is is wh|at a.com|
|00003010| 70 69 6c 65 72 20 73 68 | 6f 75 6c 64 20 64 6f 20 |piler sh|ould do |
|00003020| 69 66 20 69 74 20 73 65 | 65 73 20 22 69 6e 6c 69 |if it se|es "inli|
|00003030| 6e 65 22 20 74 68 65 6e | 20 63 61 6e 27 74 20 68 |ne" then| can't h|
|00003040| 6f 6e 6f 75 72 20 69 74 | 20 2d 20 66 6f 72 20 77 |onour it| - for w|
|00003050| 68 61 74 65 76 65 72 0d | 72 65 61 73 6f 6e 2e 0d |hatever.|reason..|
|00003060| 2d 2d 20 0d 50 68 69 6c | 69 70 20 4d 61 63 68 61 |-- .Phil|ip Macha|
|00003070| 6e 69 63 6b 20 20 20 20 | 20 20 20 20 20 20 20 20 |nick | |
|00003080| 20 20 20 20 20 20 20 70 | 68 69 6c 69 70 40 63 73 | p|hilip@cs|
|00003090| 2e 77 69 74 73 2e 61 63 | 2e 7a 61 0d 44 65 70 61 |.wits.ac|.za.Depa|
|000030a0| 72 74 6d 65 6e 74 20 6f | 66 20 43 6f 6d 70 75 74 |rtment o|f Comput|
|000030b0| 65 72 20 53 63 69 65 6e | 63 65 2c 20 55 6e 69 76 |er Scien|ce, Univ|
|000030c0| 65 72 73 69 74 79 20 6f | 66 20 74 68 65 20 57 69 |ersity o|f the Wi|
|000030d0| 74 77 61 74 65 72 73 72 | 61 6e 64 0d 32 30 35 30 |twatersr|and.2050|
|000030e0| 20 57 69 74 73 2c 20 53 | 6f 75 74 68 20 41 66 72 | Wits, S|outh Afr|
|000030f0| 69 63 61 0d 70 68 6f 6e | 65 20 32 37 28 31 31 29 |ica.phon|e 27(11)|
|00003100| 37 31 36 2d 33 33 30 39 | 20 20 66 61 78 20 32 37 |716-3309| fax 27|
|00003110| 28 31 31 29 33 33 39 2d | 37 39 36 35 0d 0d 2d 2d |(11)339-|7965..--|
|00003120| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003130| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 0d 0d 3e 46 72 6f 6d |--------|-..>From|
|00003140| 20 72 75 73 73 65 6c 6c | 2e 6d 2e 62 72 69 6c 6c | russell|.m.brill|
|00003150| 40 63 63 6d 61 69 6c 2e | 6a 70 6c 2e 6e 61 73 61 |@ccmail.|jpl.nasa|
|00003160| 2e 67 6f 76 20 28 52 75 | 73 73 20 42 72 69 6c 6c |.gov (Ru|ss Brill|
|00003170| 29 0d 53 75 62 6a 65 63 | 74 3a 20 4d 61 63 20 50 |).Subjec|t: Mac P|
|00003180| 61 74 68 6e 61 6d 65 20 | 53 79 6e 74 61 78 0d 44 |athname |Syntax.D|
|00003190| 61 74 65 3a 20 32 34 20 | 4a 75 6e 20 31 39 39 34 |ate: 24 |Jun 1994|
|000031a0| 20 31 34 3a 31 34 3a 32 | 37 20 47 4d 54 0d 4f 72 | 14:14:2|7 GMT.Or|
|000031b0| 67 61 6e 69 7a 61 74 69 | 6f 6e 3a 20 4a 50 4c 0d |ganizati|on: JPL.|
|000031c0| 0d 49 27 76 65 20 77 72 | 69 74 74 65 6e 20 61 20 |.I've wr|itten a |
|000031d0| 70 6f 72 74 61 62 6c 65 | 20 70 72 6f 67 72 61 6d |portable| program|
|000031e0| 20 77 68 69 63 68 20 75 | 73 65 73 20 49 4f 73 74 | which u|ses IOst|
|000031f0| 72 65 61 6d 73 20 61 6e | 64 20 6e 6f 20 74 6f 6f |reams an|d no too|
|00003200| 6c 62 6f 78 20 63 61 6c | 6c 73 2e 20 0d 57 68 61 |lbox cal|ls. .Wha|
|00003210| 74 0d 73 79 6e 74 61 78 | 20 69 73 20 61 6c 6c 6f |t.syntax| is allo|
|00003220| 77 61 62 6c 65 20 66 6f | 72 20 4d 61 63 20 70 61 |wable fo|r Mac pa|
|00003230| 74 68 6e 61 6d 65 73 3f | 20 20 49 20 68 61 76 65 |thnames?| I have|
|00003240| 20 64 69 73 63 6f 76 65 | 72 65 64 20 74 68 61 74 | discove|red that|
|00003250| 20 74 68 65 0d 66 6f 6c | 6c 6f 77 69 6e 67 20 77 | the.fol|lowing w|
|00003260| 6f 72 6b 3a 0d 0d 20 20 | 20 20 66 69 6c 65 6e 61 |ork:.. | filena|
|00003270| 6d 65 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |me | |
|00003280| 20 20 20 20 20 20 20 20 | 20 20 28 73 61 6d 65 20 | | (same |
|00003290| 66 6f 6c 64 65 72 29 0d | 20 20 20 20 3a 66 6f 6c |folder).| :fol|
|000032a0| 64 65 72 31 3a 66 6f 6c | 64 65 72 32 2e 2e 2e 3a |der1:fol|der2...:|
|000032b0| 66 69 6c 65 6e 61 6d 65 | 20 20 20 20 28 73 74 61 |filename| (sta|
|000032c0| 72 74 69 6e 67 20 61 74 | 20 73 61 6d 65 20 66 6f |rting at| same fo|
|000032d0| 6c 64 65 72 29 0d 20 20 | 20 20 3a 3a 3a 66 6f 6c |lder). | :::fol|
|000032e0| 64 65 72 31 2e 2e 2e 3a | 66 69 6c 65 6e 61 6d 65 |der1...:|filename|
|000032f0| 20 20 20 20 20 20 20 20 | 20 20 28 75 70 20 33 20 | | (up 3 |
|00003300| 66 6f 6c 64 65 72 73 29 | 0d 20 20 20 20 64 69 73 |folders)|. dis|
|00003310| 63 3a 66 6f 6c 64 65 72 | 31 2e 2e 2e 3a 66 69 6c |c:folder|1...:fil|
|00003320| 65 6e 61 6d 65 20 20 20 | 20 20 20 20 20 28 61 62 |ename | (ab|
|00003330| 73 6f 6c 75 74 65 20 70 | 61 74 68 29 0d 0d 61 6e |solute p|ath)..an|
|00003340| 64 20 49 27 76 65 20 64 | 69 73 63 6f 76 65 72 65 |d I've d|iscovere|
|00003350| 64 20 74 68 61 74 20 74 | 68 65 72 65 20 63 61 6e |d that t|here can|
|00003360| 27 74 20 62 65 20 61 6e | 79 20 73 70 61 63 65 73 |'t be an|y spaces|
|00003370| 20 69 6e 20 74 68 65 20 | 70 61 74 68 6e 61 6d 65 | in the |pathname|
|00003380| 2e 20 20 41 72 65 0d 74 | 68 65 72 65 20 61 6e 79 |. Are.t|here any|
|00003390| 20 6f 74 68 65 72 20 73 | 79 6e 74 61 78 65 73 20 | other s|yntaxes |
|000033a0| 6f 72 20 72 65 73 74 72 | 69 63 74 69 6f 6e 73 2e |or restr|ictions.|
|000033b0| 20 20 49 6e 20 70 61 72 | 74 69 63 75 6c 61 72 2c | In par|ticular,|
|000033c0| 20 69 73 20 74 68 65 72 | 65 20 61 20 77 61 79 20 | is ther|e a way |
|000033d0| 74 6f 0d 72 65 66 65 72 | 20 74 6f 20 74 68 65 20 |to.refer| to the |
|000033e0| 64 65 73 6b 74 6f 70 3f | 0d 0d 2b 2b 2b 2b 2b 2b |desktop?|..++++++|
|000033f0| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|00003400| 2b 2b 2b 2b 2b 0d 0d 3e | 46 72 6f 6d 20 72 6d 61 |+++++..>|From rma|
|00003410| 68 40 70 61 6e 69 78 2e | 63 6f 6d 20 28 52 6f 62 |h@panix.|com (Rob|
|00003420| 65 72 74 20 53 2e 20 4d | 61 68 29 0d 44 61 74 65 |ert S. M|ah).Date|
|00003430| 3a 20 46 72 69 2c 20 32 | 34 20 4a 75 6e 20 31 39 |: Fri, 2|4 Jun 19|
|00003440| 39 34 20 31 31 3a 30 32 | 3a 33 39 20 2d 30 35 30 |94 11:02|:39 -050|
|00003450| 30 0d 4f 72 67 61 6e 69 | 7a 61 74 69 6f 6e 3a 20 |0.Organi|zation: |
|00003460| 4f 6e 65 20 53 74 65 70 | 20 42 65 79 6f 6e 64 0d |One Step| Beyond.|
|00003470| 0d 72 75 73 73 65 6c 6c | 2e 6d 2e 62 72 69 6c 6c |.russell|.m.brill|
|00003480| 40 63 63 6d 61 69 6c 2e | 6a 70 6c 2e 6e 61 73 61 |@ccmail.|jpl.nasa|
|00003490| 2e 67 6f 76 20 28 52 75 | 73 73 20 42 72 69 6c 6c |.gov (Ru|ss Brill|
|000034a0| 29 20 77 72 6f 74 65 3a | 0d 0d 3e 20 49 27 76 65 |) wrote:|..> I've|
|000034b0| 20 77 72 69 74 74 65 6e | 20 61 20 70 6f 72 74 61 | written| a porta|
|000034c0| 62 6c 65 20 70 72 6f 67 | 72 61 6d 20 77 68 69 63 |ble prog|ram whic|
|000034d0| 68 20 75 73 65 73 20 49 | 4f 73 74 72 65 61 6d 73 |h uses I|Ostreams|
|000034e0| 20 61 6e 64 20 6e 6f 20 | 74 6f 6f 6c 62 6f 78 0d | and no |toolbox.|
|000034f0| 3e 20 63 61 6c 6c 73 2e | 20 20 57 68 61 74 20 73 |> calls.| What s|
|00003500| 79 6e 74 61 78 20 69 73 | 20 61 6c 6c 6f 77 61 62 |yntax is| allowab|
|00003510| 6c 65 20 66 6f 72 20 4d | 61 63 20 70 61 74 68 6e |le for M|ac pathn|
|00003520| 61 6d 65 73 3f 20 20 49 | 20 68 61 76 65 20 64 69 |ames? I| have di|
|00003530| 73 63 6f 76 65 72 65 64 | 0d 3e 20 74 68 61 74 20 |scovered|.> that |
|00003540| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 77 6f |the foll|owing wo|
|00003550| 72 6b 3a 0d 3e 20 0d 3e | 20 20 20 20 20 66 69 6c |rk:.> .>| fil|
|00003560| 65 6e 61 6d 65 20 20 20 | 20 20 20 20 20 20 20 20 |ename | |
|00003570| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 28 73 61 | | (sa|
|00003580| 6d 65 20 66 6f 6c 64 65 | 72 29 0d 3e 20 20 20 20 |me folde|r).> |
|00003590| 20 3a 66 6f 6c 64 65 72 | 31 3a 66 6f 6c 64 65 72 | :folder|1:folder|
|000035a0| 32 2e 2e 2e 3a 66 69 6c | 65 6e 61 6d 65 20 20 20 |2...:fil|ename |
|000035b0| 20 28 73 74 61 72 74 69 | 6e 67 20 61 74 20 73 61 | (starti|ng at sa|
|000035c0| 6d 65 20 66 6f 6c 64 65 | 72 29 0d 3e 20 20 20 20 |me folde|r).> |
|000035d0| 20 3a 3a 3a 66 6f 6c 64 | 65 72 31 2e 2e 2e 3a 66 | :::fold|er1...:f|
|000035e0| 69 6c 65 6e 61 6d 65 20 | 20 20 20 20 20 20 20 20 |ilename | |
|000035f0| 20 28 75 70 20 33 20 66 | 6f 6c 64 65 72 73 29 0d | (up 3 f|olders).|
|00003600| 3e 20 20 20 20 20 64 69 | 73 63 3a 66 6f 6c 64 65 |> di|sc:folde|
|00003610| 72 31 2e 2e 2e 3a 66 69 | 6c 65 6e 61 6d 65 20 20 |r1...:fi|lename |
|00003620| 20 20 20 20 20 20 28 61 | 62 73 6f 6c 75 74 65 20 | (a|bsolute |
|00003630| 70 61 74 68 29 0d 3e 20 | 0d 3e 20 61 6e 64 20 49 |path).> |.> and I|
|00003640| 27 76 65 20 64 69 73 63 | 6f 76 65 72 65 64 20 74 |'ve disc|overed t|
|00003650| 68 61 74 20 74 68 65 72 | 65 20 63 61 6e 27 74 20 |hat ther|e can't |
|00003660| 62 65 20 61 6e 79 20 73 | 70 61 63 65 73 20 69 6e |be any s|paces in|
|00003670| 20 74 68 65 20 70 61 74 | 68 6e 61 6d 65 2e 20 0d | the pat|hname. .|
|00003680| 3e 20 41 72 65 20 74 68 | 65 72 65 20 61 6e 79 20 |> Are th|ere any |
|00003690| 6f 74 68 65 72 20 73 79 | 6e 74 61 78 65 73 20 6f |other sy|ntaxes o|
|000036a0| 72 20 72 65 73 74 72 69 | 63 74 69 6f 6e 73 2e 20 |r restri|ctions. |
|000036b0| 20 49 6e 20 70 61 72 74 | 69 63 75 6c 61 72 2c 20 | In part|icular, |
|000036c0| 69 73 0d 3e 20 74 68 65 | 72 65 20 61 20 77 61 79 |is.> the|re a way|
|000036d0| 20 74 6f 20 72 65 66 65 | 72 20 74 6f 20 74 68 65 | to refe|r to the|
|000036e0| 20 64 65 73 6b 74 6f 70 | 3f 0d 0d 4e 6f 20 73 70 | desktop|?..No sp|
|000036f0| 61 63 65 73 3f 20 20 53 | 70 61 63 65 73 20 6e 65 |aces? S|paces ne|
|00003700| 76 65 72 20 62 6f 74 68 | 65 72 65 64 20 6d 79 20 |ver both|ered my |
|00003710| 70 61 74 68 6e 61 6d 65 | 73 20 62 65 66 6f 72 65 |pathname|s before|
|00003720| 20 2d 2d 20 77 68 61 74 | 20 63 6f 6d 70 69 6c 65 | -- what| compile|
|00003730| 72 0d 61 6e 64 2f 6f 72 | 20 41 4e 53 49 20 6c 69 |r.and/or| ANSI li|
|00003740| 62 72 61 72 79 20 61 72 | 65 20 79 6f 75 20 75 73 |brary ar|e you us|
|00003750| 69 6e 67 3f 0d 0d 41 6e | 79 77 61 79 2c 20 74 6f |ing?..An|yway, to|
|00003760| 20 72 65 66 65 72 20 74 | 6f 20 74 68 65 20 64 65 | refer t|o the de|
|00003770| 73 6b 74 6f 70 2c 20 75 | 73 65 20 73 6f 6d 65 74 |sktop, u|se somet|
|00003780| 68 69 6e 67 20 6c 69 6b | 65 2e 2e 2e 0d 0d 20 20 |hing lik|e..... |
|00003790| 22 64 69 73 6b 3a 44 65 | 73 6b 74 6f 70 20 46 6f |"disk:De|sktop Fo|
|000037a0| 6c 64 65 72 3a 66 69 6c | 65 22 0d 0d 54 68 65 20 |lder:fil|e"..The |
|000037b0| 64 65 73 6b 74 6f 70 20 | 64 69 73 70 6c 61 79 73 |desktop |displays|
|000037c0| 20 74 68 65 20 75 6e 69 | 6f 6e 20 6f 66 20 61 6c | the uni|on of al|
|000037d0| 6c 20 44 65 73 6b 74 6f | 70 20 46 6f 6c 64 65 72 |l Deskto|p Folder|
|000037e0| 27 73 20 6f 6e 20 61 6c | 6c 20 6d 6f 75 6e 74 65 |'s on al|l mounte|
|000037f0| 64 0d 76 6f 6c 75 6d 65 | 73 2e 20 20 54 68 65 20 |d.volume|s. The |
|00003800| 74 72 61 73 68 20 66 6f | 6c 64 65 72 20 69 73 20 |trash fo|lder is |
|00003810| 73 69 6d 69 6c 61 72 20 | 69 6e 20 6e 61 74 75 72 |similar |in natur|
|00003820| 65 2e 0d 0d 43 68 65 65 | 72 73 2c 0d 52 6f 62 0d |e...Chee|rs,.Rob.|
|00003830| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00003840| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00003850| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00003860| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00003870| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 0d 52 6f 62 65 |________|___.Robe|
|00003880| 72 74 20 53 2e 20 4d 61 | 68 20 20 2d 3d 2d 20 20 |rt S. Ma|h -=- |
|00003890| 4f 6e 65 20 53 74 65 70 | 20 42 65 79 6f 6e 64 20 |One Step| Beyond |
|000038a0| 20 2d 3d 2d 20 20 32 31 | 32 2d 39 34 37 2d 36 35 | -=- 21|2-947-65|
|000038b0| 30 37 20 20 2d 3d 2d 20 | 20 72 6d 61 68 40 70 61 |07 -=- | rmah@pa|
|000038c0| 6e 69 78 2e 63 6f 6d 0d | 0d 2b 2b 2b 2b 2b 2b 2b |nix.com.|.+++++++|
|000038d0| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|000038e0| 2b 2b 2b 2b 0d 0d 3e 46 | 72 6f 6d 20 6f 73 74 65 |++++..>F|rom oste|
|000038f0| 72 40 6e 65 74 63 6f 6d | 2e 63 6f 6d 20 28 44 61 |r@netcom|.com (Da|
|00003900| 76 69 64 20 50 68 69 6c | 6c 69 70 20 4f 73 74 65 |vid Phil|lip Oste|
|00003910| 72 29 0d 44 61 74 65 3a | 20 46 72 69 2c 20 32 34 |r).Date:| Fri, 24|
|00003920| 20 4a 75 6e 20 31 39 39 | 34 20 32 31 3a 30 31 3a | Jun 199|4 21:01:|
|00003930| 34 37 20 47 4d 54 0d 4f | 72 67 61 6e 69 7a 61 74 |47 GMT.O|rganizat|
|00003940| 69 6f 6e 3a 20 4e 65 74 | 63 6f 6d 20 4f 6e 6c 69 |ion: Net|com Onli|
|00003950| 6e 65 20 43 6f 6d 6d 75 | 6e 69 63 61 74 69 6f 6e |ne Commu|nication|
|00003960| 73 20 53 65 72 76 69 63 | 65 73 20 28 34 30 38 2d |s Servic|es (408-|
|00003970| 32 34 31 2d 39 37 36 30 | 20 6c 6f 67 69 6e 3a 20 |241-9760| login: |
|00003980| 67 75 65 73 74 29 0d 0d | 49 6e 20 61 72 74 69 63 |guest)..|In artic|
|00003990| 6c 65 20 3c 72 75 73 73 | 65 6c 6c 2e 6d 2e 62 72 |le <russ|ell.m.br|
|000039a0| 69 6c 6c 2d 32 34 30 36 | 39 34 30 37 30 39 32 36 |ill-2406|94070926|
|000039b0| 40 6d 61 63 38 2e 6a 70 | 6c 2e 6e 61 73 61 2e 67 |@mac8.jp|l.nasa.g|
|000039c0| 6f 76 3e 20 72 75 73 73 | 65 6c 6c 2e 6d 2e 62 72 |ov> russ|ell.m.br|
|000039d0| 69 6c 6c 40 63 63 6d 61 | 69 6c 2e 6a 70 6c 2e 6e |ill@ccma|il.jpl.n|
|000039e0| 61 73 61 2e 67 6f 76 20 | 28 52 75 73 73 20 42 72 |asa.gov |(Russ Br|
|000039f0| 69 6c 6c 29 20 77 72 69 | 74 65 73 3a 0d 0d 49 66 |ill) wri|tes:..If|
|00003a00| 20 79 6f 75 72 20 70 72 | 6f 67 72 61 6d 20 64 6f | your pr|ogram do|
|00003a10| 65 73 20 6e 6f 74 20 61 | 6c 6c 6f 77 20 73 70 61 |es not a|llow spa|
|00003a20| 63 65 73 20 69 6e 20 70 | 61 74 68 6e 61 6d 65 73 |ces in p|athnames|
|00003a30| 2c 20 79 6f 75 72 20 70 | 72 6f 67 72 61 6d 20 69 |, your p|rogram i|
|00003a40| 73 20 77 72 6f 6e 67 2e | 0d 0d 49 66 20 79 6f 75 |s wrong.|..If you|
|00003a50| 72 20 70 72 6f 67 72 61 | 6d 20 64 6f 65 73 20 6e |r progra|m does n|
|00003a60| 6f 74 20 61 6c 6c 6f 77 | 20 74 68 65 20 75 73 65 |ot allow| the use|
|00003a70| 72 20 74 6f 20 6e 61 6d | 65 20 61 6c 6c 20 68 69 |r to nam|e all hi|
|00003a80| 73 20 68 61 72 64 20 64 | 69 73 6b 73 20 61 6e 64 |s hard d|isks and|
|00003a90| 0d 66 6c 6f 70 70 69 65 | 73 20 22 75 6e 74 69 74 |.floppie|s "untit|
|00003aa0| 6c 65 64 22 20 61 6e 64 | 20 73 74 69 6c 6c 20 61 |led" and| still a|
|00003ab0| 6c 6c 6f 77 20 74 68 65 | 20 75 73 65 72 20 74 6f |llow the| user to|
|00003ac0| 20 73 70 65 63 69 66 79 | 20 77 68 69 63 68 20 66 | specify| which f|
|00003ad0| 69 6c 65 20 6f 6e 20 77 | 68 69 63 68 0d 68 61 72 |ile on w|hich.har|
|00003ae0| 64 20 64 69 73 6b 20 73 | 68 65 20 6d 65 61 6e 74 |d disk s|he meant|
|00003af0| 2c 20 74 68 65 6e 20 79 | 6f 75 72 20 70 72 6f 67 |, then y|our prog|
|00003b00| 72 61 6d 20 69 73 20 77 | 72 6f 6e 67 2e 20 28 54 |ram is w|rong. (T|
|00003b10| 68 69 73 20 69 73 20 77 | 68 61 74 20 74 68 65 20 |his is w|hat the |
|00003b20| 73 74 61 6e 64 61 72 64 | 0d 66 69 6c 65 20 64 69 |standard|.file di|
|00003b30| 61 6c 6f 67 2c 20 61 6e | 64 20 61 6c 73 6f 20 4d |alog, an|d also M|
|00003b40| 61 63 69 6e 74 6f 73 68 | 20 44 72 61 67 20 26 20 |acintosh| Drag & |
|00003b50| 44 72 6f 70 20 61 72 65 | 20 66 6f 72 2e 29 0d 0d |Drop are| for.)..|
|00003b60| 54 68 65 20 64 65 73 6b | 74 6f 70 20 69 73 20 72 |The desk|top is r|
|00003b70| 65 70 72 65 73 65 6e 74 | 65 64 20 62 79 20 61 6e |epresent|ed by an|
|00003b80| 20 69 6e 76 69 73 69 62 | 6c 65 20 66 6f 6c 64 65 | invisib|le folde|
|00003b90| 72 20 77 69 74 68 20 61 | 20 6e 61 6d 65 20 73 6f |r with a| name so|
|00003ba0| 6d 65 74 68 69 6e 67 20 | 6c 69 6b 65 0d 22 44 65 |mething |like."De|
|00003bb0| 73 6b 74 6f 70 22 2c 20 | 69 6e 20 74 68 65 20 45 |sktop", |in the E|
|00003bc0| 6e 67 6c 69 73 68 20 4c | 61 6e 67 75 61 67 65 20 |nglish L|anguage |
|00003bd0| 76 65 72 73 69 6f 6e 20 | 6f 66 20 53 79 73 74 65 |version |of Syste|
|00003be0| 6d 20 37 20 61 6e 64 20 | 6c 61 74 65 72 2e 0d 0d |m 7 and |later...|
|00003bf0| 49 6e 20 73 79 73 74 65 | 6d 73 20 65 61 72 6c 69 |In syste|ms earli|
|00003c00| 65 72 20 74 68 61 6e 20 | 37 2c 20 69 74 20 77 61 |er than |7, it wa|
|00003c10| 73 20 61 20 62 69 74 20 | 69 6e 20 74 68 65 20 46 |s a bit |in the F|
|00003c20| 69 6e 64 65 72 46 6c 61 | 67 73 20 70 6f 72 74 69 |inderFla|gs porti|
|00003c30| 6f 6e 20 6f 66 20 74 68 | 65 0d 64 69 72 65 63 74 |on of th|e.direct|
|00003c40| 6f 72 79 20 65 6e 74 72 | 79 2e 20 20 49 6e 20 6c |ory entr|y. In l|
|00003c50| 61 6e 67 75 61 67 65 73 | 20 6f 74 68 65 72 20 74 |anguages| other t|
|00003c60| 68 61 6e 20 45 6e 67 6c | 69 73 68 2c 20 69 74 20 |han Engl|ish, it |
|00003c70| 6d 61 79 20 6e 6f 74 20 | 62 65 20 63 61 6c 6c 65 |may not |be calle|
|00003c80| 64 0d 22 44 65 73 6b 74 | 6f 70 22 2c 20 79 6f 75 |d."Deskt|op", you|
|00003c90| 20 6e 65 65 64 20 74 6f | 20 63 61 6c 6c 20 46 69 | need to| call Fi|
|00003ca0| 6e 64 46 6f 6c 64 65 72 | 28 29 20 74 6f 20 67 65 |ndFolder|() to ge|
|00003cb0| 74 20 74 68 65 20 64 69 | 72 49 44 2c 20 77 68 69 |t the di|rID, whi|
|00003cc0| 63 68 20 69 73 20 61 20 | 6c 6f 6e 67 2c 0d 61 6e |ch is a |long,.an|
|00003cd0| 64 20 74 68 65 20 76 6f | 6c 52 65 66 2c 20 77 68 |d the vo|lRef, wh|
|00003ce0| 69 63 68 20 69 73 20 61 | 20 73 68 6f 72 74 20 66 |ich is a| short f|
|00003cf0| 6f 72 20 74 68 65 20 64 | 65 73 6b 74 6f 70 20 66 |or the d|esktop f|
|00003d00| 6f 6c 64 65 72 2e 0d 0d | 0d 0d 2b 2b 2b 2b 2b 2b |older...|..++++++|
|00003d10| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|00003d20| 2b 2b 2b 2b 2b 0d 0d 3e | 46 72 6f 6d 20 52 69 63 |+++++..>|From Ric|
|00003d30| 6b 5f 48 6f 6c 7a 67 72 | 61 66 65 40 74 61 6c 69 |k_Holzgr|afe@tali|
|00003d40| 67 65 6e 74 2e 63 6f 6d | 20 28 52 69 63 6b 20 48 |gent.com| (Rick H|
|00003d50| 6f 6c 7a 67 72 61 66 65 | 29 0d 44 61 74 65 3a 20 |olzgrafe|).Date: |
|00003d60| 46 72 69 2c 20 32 34 20 | 4a 75 6e 20 31 39 39 34 |Fri, 24 |Jun 1994|
|00003d70| 20 32 30 3a 33 33 3a 33 | 33 20 47 4d 54 0d 4f 72 | 20:33:3|3 GMT.Or|
|00003d80| 67 61 6e 69 7a 61 74 69 | 6f 6e 3a 20 53 65 6d 69 |ganizati|on: Semi|
|00003d90| 63 6f 6c 6f 6e 20 53 6f | 66 74 77 61 72 65 0d 0d |colon So|ftware..|
|00003da0| 49 6e 20 61 72 74 69 63 | 6c 65 20 3c 72 75 73 73 |In artic|le <russ|
|00003db0| 65 6c 6c 2e 6d 2e 62 72 | 69 6c 6c 2d 32 34 30 36 |ell.m.br|ill-2406|
|00003dc0| 39 34 30 37 30 39 32 36 | 40 6d 61 63 38 2e 6a 70 |94070926|@mac8.jp|
|00003dd0| 6c 2e 6e 61 73 61 2e 67 | 6f 76 3e 2c 0d 72 75 73 |l.nasa.g|ov>,.rus|
|00003de0| 73 65 6c 6c 2e 6d 2e 62 | 72 69 6c 6c 40 63 63 6d |sell.m.b|rill@ccm|
|00003df0| 61 69 6c 2e 6a 70 6c 2e | 6e 61 73 61 2e 67 6f 76 |ail.jpl.|nasa.gov|
|00003e00| 20 28 52 75 73 73 20 42 | 72 69 6c 6c 29 20 77 72 | (Russ B|rill) wr|
|00003e10| 6f 74 65 3a 0d 0d 3e 20 | 49 27 76 65 20 77 72 69 |ote:..> |I've wri|
|00003e20| 74 74 65 6e 20 61 20 70 | 6f 72 74 61 62 6c 65 20 |tten a p|ortable |
|00003e30| 70 72 6f 67 72 61 6d 20 | 77 68 69 63 68 20 75 73 |program |which us|
|00003e40| 65 73 20 49 4f 73 74 72 | 65 61 6d 73 20 61 6e 64 |es IOstr|eams and|
|00003e50| 20 6e 6f 20 74 6f 6f 6c | 62 6f 78 20 63 61 6c 6c | no tool|box call|
|00003e60| 73 2e 20 0d 3e 20 57 68 | 61 74 0d 3e 20 73 79 6e |s. .> Wh|at.> syn|
|00003e70| 74 61 78 20 69 73 20 61 | 6c 6c 6f 77 61 62 6c 65 |tax is a|llowable|
|00003e80| 20 66 6f 72 20 4d 61 63 | 20 70 61 74 68 6e 61 6d | for Mac| pathnam|
|00003e90| 65 73 3f 20 20 49 20 68 | 61 76 65 20 64 69 73 63 |es? I h|ave disc|
|00003ea0| 6f 76 65 72 65 64 20 74 | 68 61 74 20 74 68 65 0d |overed t|hat the.|
|00003eb0| 3e 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 77 6f 72 6b |> follow|ing work|
|00003ec0| 3a 0d 3e 20 0d 3e 20 20 | 20 20 20 66 69 6c 65 6e |:.> .> | filen|
|00003ed0| 61 6d 65 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |ame | |
|00003ee0| 20 20 20 20 20 20 20 20 | 20 20 20 28 73 61 6d 65 | | (same|
|00003ef0| 20 66 6f 6c 64 65 72 29 | 0d 3e 20 20 20 20 20 3a | folder)|.> :|
|00003f00| 66 6f 6c 64 65 72 31 3a | 66 6f 6c 64 65 72 32 2e |folder1:|folder2.|
|00003f10| 2e 2e 3a 66 69 6c 65 6e | 61 6d 65 20 20 20 20 28 |..:filen|ame (|
|00003f20| 73 74 61 72 74 69 6e 67 | 20 61 74 20 73 61 6d 65 |starting| at same|
|00003f30| 20 66 6f 6c 64 65 72 29 | 0d 3e 20 20 20 20 20 3a | folder)|.> :|
|00003f40| 3a 3a 66 6f 6c 64 65 72 | 31 2e 2e 2e 3a 66 69 6c |::folder|1...:fil|
|00003f50| 65 6e 61 6d 65 20 20 20 | 20 20 20 20 20 20 20 28 |ename | (|
|00003f60| 75 70 20 33 20 66 6f 6c | 64 65 72 73 29 0d 3e 20 |up 3 fol|ders).> |
|00003f70| 20 20 20 20 64 69 73 63 | 3a 66 6f 6c 64 65 72 31 | disc|:folder1|
|00003f80| 2e 2e 2e 3a 66 69 6c 65 | 6e 61 6d 65 20 20 20 20 |...:file|name |
|00003f90| 20 20 20 20 28 61 62 73 | 6f 6c 75 74 65 20 70 61 | (abs|olute pa|
|00003fa0| 74 68 29 0d 3e 20 0d 3e | 20 61 6e 64 20 49 27 76 |th).> .>| and I'v|
|00003fb0| 65 20 64 69 73 63 6f 76 | 65 72 65 64 20 74 68 61 |e discov|ered tha|
|00003fc0| 74 20 74 68 65 72 65 20 | 63 61 6e 27 74 20 62 65 |t there |can't be|
|00003fd0| 20 61 6e 79 20 73 70 61 | 63 65 73 20 69 6e 20 74 | any spa|ces in t|
|00003fe0| 68 65 20 70 61 74 68 6e | 61 6d 65 2e 20 20 41 72 |he pathn|ame. Ar|
|00003ff0| 65 0d 3e 20 74 68 65 72 | 65 20 61 6e 79 20 6f 74 |e.> ther|e any ot|
|00004000| 68 65 72 20 73 79 6e 74 | 61 78 65 73 20 6f 72 20 |her synt|axes or |
|00004010| 72 65 73 74 72 69 63 74 | 69 6f 6e 73 2e 20 20 49 |restrict|ions. I|
|00004020| 6e 20 70 61 72 74 69 63 | 75 6c 61 72 2c 20 69 73 |n partic|ular, is|
|00004030| 20 74 68 65 72 65 20 61 | 20 77 61 79 20 74 6f 0d | there a| way to.|
|00004040| 3e 20 72 65 66 65 72 20 | 74 6f 20 74 68 65 20 64 |> refer |to the d|
|00004050| 65 73 6b 74 6f 70 3f 0d | 0d 53 70 61 63 65 73 20 |esktop?.|.Spaces |
|00004060| 73 68 6f 75 6c 64 20 6e | 6f 74 20 62 65 20 61 20 |should n|ot be a |
|00004070| 70 72 6f 62 6c 65 6d 2e | 20 49 6e 20 67 65 6e 65 |problem.| In gene|
|00004080| 72 61 6c 20 61 6e 79 20 | 63 68 61 72 61 63 74 65 |ral any |characte|
|00004090| 72 20 69 73 20 61 6c 6c | 6f 77 61 62 6c 65 0d 65 |r is all|owable.e|
|000040a0| 78 63 65 70 74 20 66 6f | 72 20 63 6f 6c 6f 6e 73 |xcept fo|r colons|
|000040b0| 2c 20 77 68 69 63 68 20 | 61 72 65 20 75 73 65 64 |, which |are used|
|000040c0| 20 6f 6e 6c 79 20 61 73 | 20 73 65 70 61 72 61 74 | only as| separat|
|000040d0| 6f 72 73 2e 20 54 68 65 | 20 4d 61 63 20 69 74 73 |ors. The| Mac its|
|000040e0| 65 6c 66 20 75 73 65 73 | 0d 50 61 73 63 61 6c 20 |elf uses|.Pascal |
|000040f0| 73 74 72 69 6e 67 73 20 | 61 6e 64 20 70 72 6f 62 |strings |and prob|
|00004100| 61 62 6c 79 20 77 6f 75 | 6c 64 6e 27 74 20 62 65 |ably wou|ldn't be|
|00004110| 20 62 6f 74 68 65 72 65 | 64 20 65 76 65 6e 20 62 | bothere|d even b|
|00004120| 79 20 61 20 6e 75 6c 6c | 20 62 79 74 65 2c 20 62 |y a null| byte, b|
|00004130| 75 74 0d 69 66 20 79 6f | 75 20 61 72 65 20 77 6f |ut.if yo|u are wo|
|00004140| 72 6b 69 6e 67 20 69 6e | 20 43 20 6f 72 20 43 2b |rking in| C or C+|
|00004150| 2b 20 79 6f 75 20 6d 61 | 79 20 6e 6f 74 20 62 65 |+ you ma|y not be|
|00004160| 20 61 62 6c 65 20 74 6f | 20 63 6f 70 65 20 77 69 | able to| cope wi|
|00004170| 74 68 20 6e 75 6c 6c 20 | 62 79 74 65 73 0d 62 65 |th null |bytes.be|
|00004180| 63 61 75 73 65 20 74 68 | 65 79 27 6c 6c 20 62 65 |cause th|ey'll be|
|00004190| 20 69 6e 74 65 72 70 72 | 65 74 65 64 20 61 73 20 | interpr|eted as |
|000041a0| 65 6e 64 2d 6f 66 2d 73 | 74 72 69 6e 67 20 6d 61 |end-of-s|tring ma|
|000041b0| 72 6b 65 72 73 2e 0d 0d | 2d 2d 20 52 69 63 6b 20 |rkers...|-- Rick |
|000041c0| 48 6f 6c 7a 67 72 61 66 | 65 2c 20 61 20 6d 65 6d |Holzgraf|e, a mem|
|000041d0| 62 65 72 20 6f 66 20 74 | 68 65 20 54 61 6c 69 67 |ber of t|he Talig|
|000041e0| 65 6e 74 73 69 61 0d 20 | 20 20 52 69 63 6b 5f 48 |entsia. | Rick_H|
|000041f0| 6f 6c 7a 67 72 61 66 65 | 40 74 61 6c 69 67 65 6e |olzgrafe|@taligen|
|00004200| 74 2e 63 6f 6d 0d 20 20 | 20 72 6d 68 40 74 61 6c |t.com. | rmh@tal|
|00004210| 69 67 65 6e 74 2e 63 6f | 6d 0d 0d 2b 2b 2b 2b 2b |igent.co|m..+++++|
|00004220| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|00004230| 2b 2b 2b 2b 2b 2b 0d 0d | 3e 46 72 6f 6d 20 6e 61 |++++++..|>From na|
|00004240| 67 6c 65 40 6e 65 74 63 | 6f 6d 2e 63 6f 6d 20 28 |gle@netc|om.com (|
|00004250| 4a 6f 68 6e 20 4e 61 67 | 6c 65 29 0d 44 61 74 65 |John Nag|le).Date|
|00004260| 3a 20 53 61 74 2c 20 32 | 35 20 4a 75 6e 20 31 39 |: Sat, 2|5 Jun 19|
|00004270| 39 34 20 31 37 3a 34 34 | 3a 34 38 20 47 4d 54 0d |94 17:44|:48 GMT.|
|00004280| 4f 72 67 61 6e 69 7a 61 | 74 69 6f 6e 3a 20 4e 45 |Organiza|tion: NE|
|00004290| 54 43 4f 4d 20 4f 6e 2d | 6c 69 6e 65 20 43 6f 6d |TCOM On-|line Com|
|000042a0| 6d 75 6e 69 63 61 74 69 | 6f 6e 20 53 65 72 76 69 |municati|on Servi|
|000042b0| 63 65 73 20 28 34 30 38 | 20 32 36 31 2d 34 37 30 |ces (408| 261-470|
|000042c0| 30 20 67 75 65 73 74 29 | 0d 0d 52 69 63 6b 5f 48 |0 guest)|..Rick_H|
|000042d0| 6f 6c 7a 67 72 61 66 65 | 40 74 61 6c 69 67 65 6e |olzgrafe|@taligen|
|000042e0| 74 2e 63 6f 6d 20 28 52 | 69 63 6b 20 48 6f 6c 7a |t.com (R|ick Holz|
|000042f0| 67 72 61 66 65 29 20 77 | 72 69 74 65 73 3a 0d 3e |grafe) w|rites:.>|
|00004300| 53 70 61 63 65 73 20 73 | 68 6f 75 6c 64 20 6e 6f |Spaces s|hould no|
|00004310| 74 20 62 65 20 61 20 70 | 72 6f 62 6c 65 6d 2e 20 |t be a p|roblem. |
|00004320| 49 6e 20 67 65 6e 65 72 | 61 6c 20 61 6e 79 20 63 |In gener|al any c|
|00004330| 68 61 72 61 63 74 65 72 | 20 69 73 20 61 6c 6c 6f |haracter| is allo|
|00004340| 77 61 62 6c 65 0d 3e 65 | 78 63 65 70 74 20 66 6f |wable.>e|xcept fo|
|00004350| 72 20 63 6f 6c 6f 6e 73 | 2c 20 77 68 69 63 68 20 |r colons|, which |
|00004360| 61 72 65 20 75 73 65 64 | 20 6f 6e 6c 79 20 61 73 |are used| only as|
|00004370| 20 73 65 70 61 72 61 74 | 6f 72 73 2e 20 54 68 65 | separat|ors. The|
|00004380| 20 4d 61 63 20 69 74 73 | 65 6c 66 20 75 73 65 73 | Mac its|elf uses|
|00004390| 0d 3e 50 61 73 63 61 6c | 20 73 74 72 69 6e 67 73 |.>Pascal| strings|
|000043a0| 20 61 6e 64 20 70 72 6f | 62 61 62 6c 79 20 77 6f | and pro|bably wo|
|000043b0| 75 6c 64 6e 27 74 20 62 | 65 20 62 6f 74 68 65 72 |uldn't b|e bother|
|000043c0| 65 64 20 65 76 65 6e 20 | 62 79 20 61 20 6e 75 6c |ed even |by a nul|
|000043d0| 6c 20 62 79 74 65 2c 20 | 62 75 74 0d 3e 69 66 20 |l byte, |but.>if |
|000043e0| 79 6f 75 20 61 72 65 20 | 77 6f 72 6b 69 6e 67 20 |you are |working |
|000043f0| 69 6e 20 43 20 6f 72 20 | 43 2b 2b 20 79 6f 75 20 |in C or |C++ you |
|00004400| 6d 61 79 20 6e 6f 74 20 | 62 65 20 61 62 6c 65 20 |may not |be able |
|00004410| 74 6f 20 63 6f 70 65 20 | 77 69 74 68 20 6e 75 6c |to cope |with nul|
|00004420| 6c 20 62 79 74 65 73 0d | 3e 62 65 63 61 75 73 65 |l bytes.|>because|
|00004430| 20 74 68 65 79 27 6c 6c | 20 62 65 20 69 6e 74 65 | they'll| be inte|
|00004440| 72 70 72 65 74 65 64 20 | 61 73 20 65 6e 64 2d 6f |rpreted |as end-o|
|00004450| 66 2d 73 74 72 69 6e 67 | 20 6d 61 72 6b 65 72 73 |f-string| markers|
|00004460| 2e 0d 0d 20 20 20 20 20 | 42 75 74 20 62 65 20 61 |... |But be a|
|00004470| 77 61 72 65 20 74 68 61 | 74 20 75 6e 64 65 72 20 |ware tha|t under |
|00004480| 41 2f 55 58 2c 20 74 68 | 65 20 22 2f 22 20 69 73 |A/UX, th|e "/" is|
|00004490| 20 75 73 65 64 20 61 73 | 20 61 20 73 65 70 61 72 | used as| a separ|
|000044a0| 61 74 6f 72 2c 20 66 6f | 6c 6c 6f 77 69 6e 67 0d |ator, fo|llowing.|
|000044b0| 55 4e 49 58 20 63 6f 6e | 76 65 6e 74 69 6f 6e 73 |UNIX con|ventions|
|000044c0| 2c 20 61 6e 64 20 74 68 | 69 73 20 63 61 6e 20 72 |, and th|is can r|
|000044d0| 65 61 63 68 20 79 6f 75 | 72 20 70 72 6f 67 72 61 |each you|r progra|
|000044e0| 6d 2e 20 20 41 6e 64 20 | 75 6e 64 65 72 20 4d 50 |m. And |under MP|
|000044f0| 57 2c 0d 22 2f 22 20 69 | 73 20 75 73 65 64 20 74 |W,."/" i|s used t|
|00004500| 6f 20 69 6e 64 69 63 61 | 74 65 20 72 65 67 75 6c |o indica|te regul|
|00004510| 61 72 20 65 78 70 72 65 | 73 73 69 6f 6e 20 65 78 |ar expre|ssion ex|
|00004520| 70 61 6e 73 69 6f 6e 2e | 20 20 0d 0d 09 09 09 09 |pansion.| ......|
|00004530| 09 4a 6f 68 6e 20 4e 61 | 67 6c 65 0d 0d 2b 2b 2b |.John Na|gle..+++|
|00004540| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|00004550| 2b 2b 2b 2b 2b 2b 2b 2b | 0d 0d 3e 46 72 6f 6d 20 |++++++++|..>From |
|00004560| 6a 75 6d 70 6c 6f 6e 67 | 40 61 6f 6c 2e 63 6f 6d |jumplong|@aol.com|
|00004570| 20 28 4a 75 6d 70 20 4c | 6f 6e 67 29 0d 44 61 74 | (Jump L|ong).Dat|
|00004580| 65 3a 20 32 35 20 4a 75 | 6e 20 31 39 39 34 20 31 |e: 25 Ju|n 1994 1|
|00004590| 37 3a 31 35 3a 30 32 20 | 2d 30 34 30 30 0d 4f 72 |7:15:02 |-0400.Or|
|000045a0| 67 61 6e 69 7a 61 74 69 | 6f 6e 3a 20 41 6d 65 72 |ganizati|on: Amer|
|000045b0| 69 63 61 20 4f 6e 6c 69 | 6e 65 2c 20 49 6e 63 2e |ica Onli|ne, Inc.|
|000045c0| 20 28 31 2d 38 30 30 2d | 38 32 37 2d 36 33 36 34 | (1-800-|827-6364|
|000045d0| 29 0d 0d 49 6e 20 61 72 | 74 69 63 6c 65 20 3c 72 |)..In ar|ticle <r|
|000045e0| 75 73 73 65 6c 6c 2e 6d | 2e 62 72 69 6c 6c 2d 32 |ussell.m|.brill-2|
|000045f0| 34 30 36 39 34 30 37 30 | 39 32 36 40 6d 61 63 38 |40694070|926@mac8|
|00004600| 2e 6a 70 6c 2e 6e 61 73 | 61 2e 67 6f 76 3e 2c 0d |.jpl.nas|a.gov>,.|
|00004610| 72 75 73 73 65 6c 6c 2e | 6d 2e 62 72 69 6c 6c 40 |russell.|m.brill@|
|00004620| 63 63 6d 61 69 6c 2e 6a | 70 6c 2e 6e 61 73 61 2e |ccmail.j|pl.nasa.|
|00004630| 67 6f 76 20 28 52 75 73 | 73 20 42 72 69 6c 6c 29 |gov (Rus|s Brill)|
|00004640| 20 77 72 69 74 65 73 3a | 0d 0d 3e 57 68 61 74 20 | writes:|..>What |
|00004650| 73 79 6e 74 61 78 20 69 | 73 20 61 6c 6c 6f 77 61 |syntax i|s allowa|
|00004660| 62 6c 65 20 66 6f 72 20 | 4d 61 63 20 70 61 74 68 |ble for |Mac path|
|00004670| 6e 61 6d 65 73 3f 0d 0d | 49 6e 20 49 6e 73 69 64 |names?..|In Insid|
|00004680| 65 20 4d 61 63 69 6e 74 | 6f 73 68 3a 20 46 69 6c |e Macint|osh: Fil|
|00004690| 65 73 20 70 61 67 65 73 | 20 32 2d 32 33 20 74 68 |es pages| 2-23 th|
|000046a0| 72 6f 75 67 68 20 32 2d | 33 32 2c 20 79 6f 75 27 |rough 2-|32, you'|
|000046b0| 6c 6c 20 66 69 6e 64 20 | 61 0d 73 65 63 74 69 6f |ll find |a.sectio|
|000046c0| 6e 20 22 49 64 65 6e 74 | 69 66 79 69 6e 67 20 46 |n "Ident|ifying F|
|000046d0| 69 6c 65 73 2c 20 44 69 | 72 65 63 74 6f 72 69 65 |iles, Di|rectorie|
|000046e0| 73 2c 20 61 6e 64 20 56 | 6f 6c 75 6d 65 73 22 20 |s, and V|olumes" |
|000046f0| 74 68 61 74 20 69 6e 63 | 6c 75 64 65 73 0d 74 68 |that inc|ludes.th|
|00004700| 65 20 6e 61 6d 69 6e 67 | 20 72 75 6c 65 73 20 66 |e naming| rules f|
|00004710| 6f 72 20 70 61 74 68 6e | 61 6d 65 73 2e 20 20 54 |or pathn|ames. T|
|00004720| 68 65 20 6f 6e 6c 79 20 | 6f 6d 69 73 73 69 6f 6e |he only |omission|
|00004730| 20 49 20 6b 6e 6f 77 20 | 6f 66 20 69 6e 20 74 68 | I know |of in th|
|00004740| 69 73 0d 73 65 63 74 69 | 6f 6e 20 6f 66 20 49 6e |is.secti|on of In|
|00004750| 73 69 64 65 20 4d 61 63 | 69 6e 74 6f 73 68 3a 20 |side Mac|intosh: |
|00004760| 46 69 6c 65 73 20 69 73 | 20 74 68 61 74 20 63 6f |Files is| that co|
|00004770| 6e 73 65 63 75 74 69 76 | 65 20 63 6f 6c 6f 6e 20 |nsecutiv|e colon |
|00004780| 28 3a 29 0d 73 65 70 61 | 72 61 74 6f 72 20 63 68 |(:).sepa|rator ch|
|00004790| 61 72 61 63 74 65 72 73 | 20 61 73 63 65 6e 64 20 |aracters| ascend |
|000047a0| 61 20 6c 65 76 65 6c 20 | 69 6e 20 74 68 65 20 63 |a level |in the c|
|000047b0| 61 74 61 6c 6f 67 20 74 | 72 65 65 20 28 66 6f 72 |atalog t|ree (for|
|000047c0| 20 65 78 61 6d 70 6c 65 | 2c 0d 74 68 65 20 70 61 | example|,.the pa|
|000047d0| 74 68 6e 61 6d 65 20 27 | 48 44 3a 53 79 73 74 65 |thname '|HD:Syste|
|000047e0| 6d 20 46 6f 6c 64 65 72 | 3a 45 78 74 65 6e 73 69 |m Folder|:Extensi|
|000047f0| 6f 6e 73 3a 3a 27 20 72 | 65 66 65 72 73 20 74 6f |ons::' r|efers to|
|00004800| 20 74 68 65 20 53 79 73 | 74 65 6d 0d 46 6f 6c 64 | the Sys|tem.Fold|
|00004810| 65 72 29 2e 20 20 55 73 | 69 6e 67 20 70 61 72 74 |er). Us|ing part|
|00004820| 69 61 6c 20 70 61 74 68 | 6e 61 6d 65 73 20 69 73 |ial path|names is|
|00004830| 20 64 69 73 63 6f 75 72 | 61 67 65 64 20 62 65 63 | discour|aged bec|
|00004840| 61 75 73 65 20 69 66 20 | 61 20 75 73 65 72 0d 6d |ause if |a user.m|
|00004850| 6f 76 65 73 20 74 68 69 | 6e 67 73 20 61 72 6f 75 |oves thi|ngs arou|
|00004860| 6e 64 2c 20 74 68 65 79 | 20 62 72 65 61 6b 2e 20 |nd, they| break. |
|00004870| 20 55 73 69 6e 67 20 66 | 75 6c 6c 20 70 61 74 68 | Using f|ull path|
|00004880| 6e 61 6d 65 73 20 69 73 | 20 64 69 73 63 6f 75 72 |names is| discour|
|00004890| 61 67 65 64 0d 66 6f 72 | 20 74 68 65 20 73 61 6d |aged.for| the sam|
|000048a0| 65 20 72 65 61 73 6f 6e | 20 61 73 20 70 61 72 74 |e reason| as part|
|000048b0| 69 61 6c 20 70 61 74 68 | 6e 61 6d 65 73 20 61 6e |ial path|names an|
|000048c0| 64 20 66 6f 72 20 61 6e | 6f 74 68 65 72 20 67 6f |d for an|other go|
|000048d0| 6f 64 20 72 65 61 73 6f | 6e 0d 2d 20 74 68 65 20 |od reaso|n.- the |
|000048e0| 4d 61 63 69 6e 74 6f 73 | 68 20 61 6c 6c 6f 77 73 |Macintos|h allows|
|000048f0| 20 6d 75 6c 74 69 70 6c | 65 20 76 6f 6c 75 6d 65 | multipl|e volume|
|00004900| 73 20 74 6f 20 62 65 20 | 6d 6f 75 6e 74 65 64 20 |s to be |mounted |
|00004910| 77 69 74 68 20 74 68 65 | 20 73 61 6d 65 0d 76 6f |with the| same.vo|
|00004920| 6c 75 6d 65 20 6e 61 6d | 65 2e 20 49 66 20 79 6f |lume nam|e. If yo|
|00004930| 75 20 68 61 76 65 20 6d | 75 6c 74 69 70 6c 65 20 |u have m|ultiple |
|00004940| 76 6f 6c 75 6d 65 73 20 | 6d 6f 75 6e 74 65 64 20 |volumes |mounted |
|00004950| 77 69 74 68 20 74 68 65 | 20 73 61 6d 65 0d 76 6f |with the| same.vo|
|00004960| 6c 75 6d 65 20 6e 61 6d | 65 20 61 6e 64 20 75 73 |lume nam|e and us|
|00004970| 65 20 61 20 66 75 6c 6c | 20 70 61 74 68 6e 61 6d |e a full| pathnam|
|00004980| 65 2c 20 74 68 65 20 66 | 69 6c 65 20 73 79 73 74 |e, the f|ile syst|
|00004990| 65 6d 20 75 73 65 73 20 | 74 68 65 20 66 69 72 73 |em uses |the firs|
|000049a0| 74 0d 76 6f 6c 75 6d 65 | 20 77 69 74 68 20 61 20 |t.volume| with a |
|000049b0| 6d 61 74 63 68 69 6e 67 | 20 6e 61 6d 65 20 74 68 |matching| name th|
|000049c0| 61 74 20 69 74 20 66 69 | 6e 64 73 20 62 79 20 73 |at it fi|nds by s|
|000049d0| 65 61 72 63 68 69 6e 67 | 20 74 68 65 20 56 43 42 |earching| the VCB|
|000049e0| 20 71 75 65 75 65 0d 61 | 6e 64 20 74 68 61 74 20 | queue.a|nd that |
|000049f0| 6d 69 67 68 74 20 6e 6f | 74 20 62 65 20 74 68 65 |might no|t be the|
|00004a00| 20 76 6f 6c 75 6d 65 20 | 79 6f 75 20 77 61 6e 74 | volume |you want|
|00004a10| 65 64 2e 0d 0d 2d 20 4a | 69 6d 20 4c 75 74 68 65 |ed...- J|im Luthe|
|00004a20| 72 0d 0d 0d 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |r...++++|++++++++|
|00004a30| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 0d |++++++++|+++++++.|
|00004a40| 0d 3e 46 72 6f 6d 20 6d | 69 73 63 31 37 33 40 63 |.>From m|isc173@c|
|00004a50| 73 63 2e 63 61 6e 74 65 | 72 62 75 72 79 2e 61 63 |sc.cante|rbury.ac|
|00004a60| 2e 6e 7a 0d 44 61 74 65 | 3a 20 32 38 20 4a 75 6e |.nz.Date|: 28 Jun|
|00004a70| 20 39 34 20 31 34 3a 32 | 34 3a 31 33 20 2b 31 32 | 94 14:2|4:13 +12|
|00004a80| 30 30 0d 4f 72 67 61 6e | 69 7a 61 74 69 6f 6e 3a |00.Organ|ization:|
|00004a90| 20 55 6e 69 76 65 72 73 | 69 74 79 20 6f 66 20 43 | Univers|ity of C|
|00004aa0| 61 6e 74 65 72 62 75 72 | 79 2c 20 43 68 72 69 73 |anterbur|y, Chris|
|00004ab0| 74 63 68 75 72 63 68 2c | 20 4e 65 77 20 5a 65 61 |tchurch,| New Zea|
|00004ac0| 6c 61 6e 64 0d 0d 3e 20 | 66 6f 72 20 74 68 65 20 |land..> |for the |
|00004ad0| 73 61 6d 65 20 72 65 61 | 73 6f 6e 20 61 73 20 70 |same rea|son as p|
|00004ae0| 61 72 74 69 61 6c 20 70 | 61 74 68 6e 61 6d 65 73 |artial p|athnames|
|00004af0| 20 61 6e 64 20 66 6f 72 | 20 61 6e 6f 74 68 65 72 | and for| another|
|00004b00| 20 67 6f 6f 64 20 72 65 | 61 73 6f 6e 0d 3e 20 2d | good re|ason.> -|
|00004b10| 20 74 68 65 20 4d 61 63 | 69 6e 74 6f 73 68 20 61 | the Mac|intosh a|
|00004b20| 6c 6c 6f 77 73 20 6d 75 | 6c 74 69 70 6c 65 20 76 |llows mu|ltiple v|
|00004b30| 6f 6c 75 6d 65 73 20 74 | 6f 20 62 65 20 6d 6f 75 |olumes t|o be mou|
|00004b40| 6e 74 65 64 20 77 69 74 | 68 20 74 68 65 20 73 61 |nted wit|h the sa|
|00004b50| 6d 65 0d 3e 20 76 6f 6c | 75 6d 65 20 6e 61 6d 65 |me.> vol|ume name|
|00004b60| 2e 20 49 66 20 79 6f 75 | 20 68 61 76 65 20 6d 75 |. If you| have mu|
|00004b70| 6c 74 69 70 6c 65 20 76 | 6f 6c 75 6d 65 73 20 6d |ltiple v|olumes m|
|00004b80| 6f 75 6e 74 65 64 20 77 | 69 74 68 20 74 68 65 20 |ounted w|ith the |
|00004b90| 73 61 6d 65 0d 3e 20 76 | 6f 6c 75 6d 65 20 6e 61 |same.> v|olume na|
|00004ba0| 6d 65 20 61 6e 64 20 75 | 73 65 20 61 20 66 75 6c |me and u|se a ful|
|00004bb0| 6c 20 70 61 74 68 6e 61 | 6d 65 2c 20 74 68 65 20 |l pathna|me, the |
|00004bc0| 66 69 6c 65 20 73 79 73 | 74 65 6d 20 75 73 65 73 |file sys|tem uses|
|00004bd0| 20 74 68 65 20 66 69 72 | 73 74 0d 3e 20 76 6f 6c | the fir|st.> vol|
|00004be0| 75 6d 65 20 77 69 74 68 | 20 61 20 6d 61 74 63 68 |ume with| a match|
|00004bf0| 69 6e 67 20 6e 61 6d 65 | 20 74 68 61 74 20 69 74 |ing name| that it|
|00004c00| 20 66 69 6e 64 73 20 62 | 79 20 73 65 61 72 63 68 | finds b|y search|
|00004c10| 69 6e 67 20 74 68 65 20 | 56 43 42 20 71 75 65 75 |ing the |VCB queu|
|00004c20| 65 0d 3e 20 61 6e 64 20 | 74 68 61 74 20 6d 69 67 |e.> and |that mig|
|00004c30| 68 74 20 6e 6f 74 20 62 | 65 20 74 68 65 20 76 6f |ht not b|e the vo|
|00004c40| 6c 75 6d 65 20 79 6f 75 | 20 77 61 6e 74 65 64 2e |lume you| wanted.|
|00004c50| 0d 09 49 27 6d 20 77 72 | 69 74 69 6e 67 20 61 20 |..I'm wr|iting a |
|00004c60| 70 72 6f 67 72 61 6d 20 | 73 6f 6d 65 77 68 61 74 |program |somewhat|
|00004c70| 20 6c 69 6b 65 20 58 74 | 72 65 65 20 67 6f 6c 64 | like Xt|ree gold|
|00004c80| 20 20 6f 6e 20 74 68 65 | 20 49 42 4d 2c 20 77 68 | on the| IBM, wh|
|00004c90| 65 72 65 20 79 6f 75 0d | 67 65 74 20 61 20 74 72 |ere you.|get a tr|
|00004ca0| 65 65 20 76 69 65 77 20 | 6f 66 20 74 68 65 20 66 |ee view |of the f|
|00004cb0| 69 6c 65 73 2c 20 77 69 | 74 68 6f 75 74 20 68 61 |iles, wi|thout ha|
|00004cc0| 76 69 6e 67 20 74 6f 20 | 77 6f 72 72 79 20 61 62 |ving to |worry ab|
|00004cd0| 6f 75 74 20 77 69 6e 64 | 6f 77 73 2e 20 41 74 20 |out wind|ows. At |
|00004ce0| 74 68 65 0d 6d 6f 6d 65 | 6e 74 20 69 74 20 77 6f |the.mome|nt it wo|
|00004cf0| 72 6b 73 20 62 79 20 75 | 73 69 6e 67 20 66 75 6c |rks by u|sing ful|
|00004d00| 6c 20 70 61 74 68 20 6e | 61 6d 65 73 2e 20 49 27 |l path n|ames. I'|
|00004d10| 6d 20 75 73 69 6e 67 20 | 74 68 65 20 6c 69 73 74 |m using |the list|
|00004d20| 20 6d 61 6e 61 67 65 72 | 20 61 6e 64 0d 73 69 6d | manager| and.sim|
|00004d30| 70 6c 79 20 73 74 65 65 | 70 69 6e 67 20 62 61 63 |ply stee|ping bac|
|00004d40| 6b 20 75 70 20 74 68 65 | 20 74 72 65 65 20 74 6f |k up the| tree to|
|00004d50| 20 77 6f 72 6b 20 6f 75 | 74 20 74 68 65 20 70 61 | work ou|t the pa|
|00004d60| 74 68 2e 20 57 68 61 74 | 20 61 6c 74 65 72 6e 61 |th. What| alterna|
|00004d70| 74 69 76 65 73 20 61 72 | 65 0d 74 68 65 72 65 20 |tives ar|e.there |
|00004d80| 74 6f 20 66 75 6c 6c 20 | 70 61 74 68 20 6e 61 6d |to full |path nam|
|00004d90| 65 73 2c 20 49 20 6b 6e | 6f 77 20 61 20 62 69 74 |es, I kn|ow a bit|
|00004da0| 20 61 62 6f 75 74 20 64 | 69 72 65 63 74 6f 72 79 | about d|irectory|
|00004db0| 20 6e 75 6d 62 65 72 73 | 20 61 6e 64 20 76 6f 6c | numbers| and vol|
|00004dc0| 75 6d 65 0d 6e 75 6d 62 | 65 72 73 2c 20 63 61 6e |ume.numb|ers, can|
|00004dd0| 74 20 79 6f 75 20 6a 75 | 73 74 20 73 70 65 63 69 |t you ju|st speci|
|00004de0| 66 79 20 61 20 76 6f 6c | 75 6d 65 20 6e 75 6d 62 |fy a vol|ume numb|
|00004df0| 65 72 20 61 6e 64 20 61 | 20 70 61 72 74 69 61 6c |er and a| partial|
|00004e00| 20 28 20 6e 6f 20 76 6f | 6c 75 6d 65 20 6e 61 6d | ( no vo|lume nam|
|00004e10| 65 20 29 0d 6f 72 20 66 | 75 6c 6c 20 70 61 74 68 |e ).or f|ull path|
|00004e20| 2e 0d 09 49 20 72 65 61 | 6c 6c 79 20 64 6f 6e 74 |...I rea|lly dont|
|00004e30| 20 77 61 6e 74 20 74 6f | 20 68 61 76 65 20 74 6f | want to| have to|
|00004e40| 20 72 65 77 72 69 74 65 | 20 74 68 65 20 6c 69 73 | rewrite| the lis|
|00004e50| 74 20 6d 61 6e 61 67 65 | 72 20 74 6f 20 69 6e 63 |t manage|r to inc|
|00004e60| 6c 75 64 65 20 66 69 6c | 65 0d 6e 75 6d 62 65 72 |lude fil|e.number|
|00004e70| 73 2e 0d 0d 54 68 61 6e | 6b 73 2c 0d 4a 6f 6e 2e |s...Than|ks,.Jon.|
|00004e80| 20 0d 0d 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b | ..+++++|++++++++|
|00004e90| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 0d 0d |++++++++|++++++..|
|00004ea0| 3e 46 72 6f 6d 20 4a 65 | 6e 73 20 41 6c 66 6b 65 |>From Je|ns Alfke|
|00004eb0| 20 3c 6a 65 6e 73 5f 61 | 6c 66 6b 65 40 70 6f 77 | <jens_a|lfke@pow|
|00004ec0| 65 72 74 61 6c 6b 2e 61 | 70 70 6c 65 2e 63 6f 6d |ertalk.a|pple.com|
|00004ed0| 3e 0d 44 61 74 65 3a 20 | 54 75 65 2c 20 32 38 20 |>.Date: |Tue, 28 |
|00004ee0| 4a 75 6e 20 31 39 39 34 | 20 32 31 3a 32 35 3a 31 |Jun 1994| 21:25:1|
|00004ef0| 39 20 47 4d 54 0d 4f 72 | 67 61 6e 69 7a 61 74 69 |9 GMT.Or|ganizati|
|00004f00| 6f 6e 3a 20 41 70 70 6c | 65 20 43 6f 6d 70 75 74 |on: Appl|e Comput|
|00004f10| 65 72 0d 0d 6d 69 73 63 | 31 37 33 40 63 73 63 2e |er..misc|173@csc.|
|00004f20| 63 61 6e 74 65 72 62 75 | 72 79 2e 61 63 2e 6e 7a |canterbu|ry.ac.nz|
|00004f30| 20 77 72 69 74 65 73 3a | 0d 3e 20 09 49 27 6d 20 | writes:|.> .I'm |
|00004f40| 77 72 69 74 69 6e 67 20 | 61 20 70 72 6f 67 72 61 |writing |a progra|
|00004f50| 6d 20 73 6f 6d 65 77 68 | 61 74 20 6c 69 6b 65 20 |m somewh|at like |
|00004f60| 58 74 72 65 65 20 67 6f | 6c 64 20 20 6f 6e 20 74 |Xtree go|ld on t|
|00004f70| 68 65 20 49 42 4d 2c 20 | 77 68 65 72 65 20 79 6f |he IBM, |where yo|
|00004f80| 75 0d 3e 20 67 65 74 20 | 61 20 74 72 65 65 20 76 |u.> get |a tree v|
|00004f90| 69 65 77 20 6f 66 20 74 | 68 65 20 66 69 6c 65 73 |iew of t|he files|
|00004fa0| 2c 20 77 69 74 68 6f 75 | 74 20 68 61 76 69 6e 67 |, withou|t having|
|00004fb0| 20 74 6f 20 77 6f 72 72 | 79 20 61 62 6f 75 74 20 | to worr|y about |
|00004fc0| 77 69 6e 64 6f 77 73 2e | 0d 0d 48 6d 6d 2c 20 69 |windows.|..Hmm, i|
|00004fd0| 73 20 74 68 69 73 20 72 | 65 61 6c 6c 79 20 61 6e |s this r|eally an|
|00004fe0| 79 20 62 65 74 74 65 72 | 20 74 68 61 6e 20 74 68 |y better| than th|
|00004ff0| 65 20 6c 69 73 74 20 76 | 69 65 77 20 69 6e 20 74 |e list v|iew in t|
|00005000| 68 65 20 46 69 6e 64 65 | 72 2c 20 69 6e 20 77 68 |he Finde|r, in wh|
|00005010| 69 63 68 20 79 6f 75 0d | 63 61 6e 20 6f 70 65 6e |ich you.|can open|
|00005020| 20 73 75 62 66 6f 6c 64 | 65 72 73 20 69 6e 20 61 | subfold|ers in a|
|00005030| 6e 20 6f 75 74 6c 69 6e | 65 3f 0d 0d 3e 20 41 74 |n outlin|e?..> At|
|00005040| 20 74 68 65 0d 3e 20 6d | 6f 6d 65 6e 74 20 69 74 | the.> m|oment it|
|00005050| 20 77 6f 72 6b 73 20 62 | 79 20 75 73 69 6e 67 20 | works b|y using |
|00005060| 66 75 6c 6c 20 70 61 74 | 68 20 6e 61 6d 65 73 2e |full pat|h names.|
|00005070| 20 49 27 6d 20 75 73 69 | 6e 67 20 74 68 65 20 6c | I'm usi|ng the l|
|00005080| 69 73 74 20 6d 61 6e 61 | 67 65 72 20 61 6e 64 0d |ist mana|ger and.|
|00005090| 3e 20 73 69 6d 70 6c 79 | 20 73 74 65 65 70 69 6e |> simply| steepin|
|000050a0| 67 20 62 61 63 6b 20 75 | 70 20 74 68 65 20 74 72 |g back u|p the tr|
|000050b0| 65 65 20 74 6f 20 77 6f | 72 6b 20 6f 75 74 20 74 |ee to wo|rk out t|
|000050c0| 68 65 20 70 61 74 68 2e | 20 57 68 61 74 20 61 6c |he path.| What al|
|000050d0| 74 65 72 6e 61 74 69 76 | 65 73 20 61 72 65 0d 3e |ternativ|es are.>|
|000050e0| 20 74 68 65 72 65 20 74 | 6f 20 66 75 6c 6c 20 70 | there t|o full p|
|000050f0| 61 74 68 20 6e 61 6d 65 | 73 2c 20 49 20 6b 6e 6f |ath name|s, I kno|
|00005100| 77 20 61 20 62 69 74 20 | 61 62 6f 75 74 20 64 69 |w a bit |about di|
|00005110| 72 65 63 74 6f 72 79 20 | 6e 75 6d 62 65 72 73 20 |rectory |numbers |
|00005120| 61 6e 64 20 76 6f 6c 75 | 6d 65 0d 3e 20 6e 75 6d |and volu|me.> num|
|00005130| 62 65 72 73 0d 0d 54 68 | 65 20 70 72 65 66 65 72 |bers..Th|e prefer|
|00005140| 72 65 64 20 77 61 79 20 | 74 6f 20 64 65 61 6c 20 |red way |to deal |
|00005150| 77 69 74 68 20 66 69 6c | 65 73 20 69 73 20 62 79 |with fil|es is by|
|00005160| 20 76 6f 6c 75 6d 65 20 | 72 65 66 4e 75 6d 2c 20 | volume |refNum, |
|00005170| 64 69 72 65 63 74 6f 72 | 79 20 49 44 20 61 6e 64 |director|y ID and|
|00005180| 0d 66 69 6c 65 6e 61 6d | 65 2e 20 54 68 65 20 76 |.filenam|e. The v|
|00005190| 6f 6c 75 6d 65 20 72 65 | 66 4e 75 6d 20 69 73 20 |olume re|fNum is |
|000051a0| 6e 6f 74 20 70 65 72 73 | 69 73 74 65 6e 74 20 61 |not pers|istent a|
|000051b0| 63 72 6f 73 73 20 76 6f | 6c 75 6d 65 20 6d 6f 75 |cross vo|lume mou|
|000051c0| 6e 74 73 20 62 75 74 20 | 74 68 65 0d 6f 74 68 65 |nts but |the.othe|
|000051d0| 72 20 74 77 6f 20 61 72 | 65 2e 20 54 68 65 72 65 |r two ar|e. There|
|000051e0| 20 69 73 20 61 20 73 74 | 72 75 63 74 75 72 65 20 | is a st|ructure |
|000051f0| 63 61 6c 6c 65 64 20 61 | 6e 20 46 53 53 70 65 63 |called a|n FSSpec|
|00005200| 20 74 68 61 74 20 65 6e | 63 61 70 73 75 6c 61 74 | that en|capsulat|
|00005210| 65 73 20 74 68 69 73 0d | 69 6e 66 6f 2e 20 4d 6f |es this.|info. Mo|
|00005220| 73 74 20 6f 66 20 74 68 | 65 20 66 69 6c 65 20 6d |st of th|e file m|
|00005230| 61 6e 61 67 65 72 20 66 | 75 6e 63 74 69 6f 6e 73 |anager f|unctions|
|00005240| 20 74 68 61 74 20 64 65 | 61 6c 20 77 69 74 68 20 | that de|al with |
|00005250| 66 69 6c 65 73 20 68 61 | 76 65 20 76 65 72 73 69 |files ha|ve versi|
|00005260| 6f 6e 73 0d 74 68 61 74 | 20 74 61 6b 65 20 46 53 |ons.that| take FS|
|00005270| 53 70 65 63 73 2e 0d 20 | 20 59 6f 75 20 70 72 6f |Specs.. | You pro|
|00005280| 62 61 62 6c 79 20 72 65 | 61 6c 6c 79 20 77 61 6e |bably re|ally wan|
|00005290| 74 20 74 6f 20 67 65 74 | 20 74 68 65 20 22 4d 6f |t to get| the "Mo|
|000052a0| 72 65 46 69 6c 65 73 22 | 20 73 61 6d 70 6c 65 20 |reFiles"| sample |
|000052b0| 63 6f 64 65 2c 20 77 68 | 69 63 68 20 68 61 73 20 |code, wh|ich has |
|000052c0| 61 6c 6c 0d 6b 69 6e 64 | 73 20 6f 66 20 72 6f 75 |all.kind|s of rou|
|000052d0| 74 69 6e 65 73 20 66 6f | 72 20 64 65 61 6c 69 6e |tines fo|r dealin|
|000052e0| 67 20 77 69 74 68 20 66 | 69 6c 65 73 20 61 6e 64 |g with f|iles and|
|000052f0| 20 64 69 72 65 63 74 6f | 72 69 65 73 2c 20 73 75 | directo|ries, su|
|00005300| 63 68 20 61 73 20 65 6e | 75 6d 65 72 61 74 69 6e |ch as en|umeratin|
|00005310| 67 0d 74 68 72 6f 75 67 | 68 20 61 6c 6c 20 74 68 |g.throug|h all th|
|00005320| 65 20 66 69 6c 65 73 20 | 69 6e 20 61 20 64 69 72 |e files |in a dir|
|00005330| 65 63 74 6f 72 79 2e 20 | 41 6c 73 6f 20 62 65 20 |ectory. |Also be |
|00005340| 73 75 72 65 20 74 6f 20 | 72 65 61 64 20 49 6e 73 |sure to |read Ins|
|00005350| 69 64 65 20 4d 61 63 69 | 6e 74 6f 73 68 3a 0d 46 |ide Maci|ntosh:.F|
|00005360| 69 6c 65 73 2e 0d 0d 3e | 20 09 49 20 72 65 61 6c |iles...>| .I real|
|00005370| 6c 79 20 64 6f 6e 74 20 | 77 61 6e 74 20 74 6f 20 |ly dont |want to |
|00005380| 68 61 76 65 20 74 6f 20 | 72 65 77 72 69 74 65 20 |have to |rewrite |
|00005390| 74 68 65 20 6c 69 73 74 | 20 6d 61 6e 61 67 65 72 |the list| manager|
|000053a0| 20 74 6f 20 69 6e 63 6c | 75 64 65 20 66 69 6c 65 | to incl|ude file|
|000053b0| 0d 3e 20 6e 75 6d 62 65 | 72 73 2e 0d 0d 48 75 68 |.> numbe|rs...Huh|
|000053c0| 3f 20 44 6f 6e 27 74 20 | 74 65 6c 6c 20 6d 65 20 |? Don't |tell me |
|000053d0| 79 6f 75 27 72 65 20 6a | 75 73 74 20 64 69 73 70 |you're j|ust disp|
|000053e0| 6c 61 79 69 6e 67 20 61 | 20 74 65 78 74 75 61 6c |laying a| textual|
|000053f0| 20 6c 69 73 74 20 6f 66 | 20 70 61 74 68 6e 61 6d | list of| pathnam|
|00005400| 65 73 2e 20 45 77 77 77 | 77 77 21 0d 0d 2d 2d 4a |es. Ewww|ww!..--J|
|00005410| 65 6e 73 20 41 6c 66 6b | 65 0d 20 20 6a 65 6e 73 |ens Alfk|e. jens|
|00005420| 5f 61 6c 66 6b 65 40 70 | 6f 77 65 72 74 61 6c 6b |_alfke@p|owertalk|
|00005430| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 52 65 | | Re|
|00005440| 62 65 6c 20 67 69 72 6c | 2c 20 72 65 62 65 6c 20 |bel girl|, rebel |
|00005450| 67 69 72 6c 2c 0d 20 20 | 20 20 20 20 20 20 20 20 |girl,. | |
|00005460| 20 20 2e 61 70 70 6c 65 | 2e 63 6f 6d 20 20 20 20 | .apple|.com |
|00005470| 20 20 20 20 20 20 20 20 | 20 20 52 65 62 65 6c 20 | | Rebel |
|00005480| 67 69 72 6c 20 79 6f 75 | 20 61 72 65 20 74 68 65 |girl you| are the|
|00005490| 20 71 75 65 65 6e 20 6f | 66 20 6d 79 20 77 6f 72 | queen o|f my wor|
|000054a0| 6c 64 0d 0d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |ld..----|--------|
|000054b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 0d |--------|-------.|
|000054c0| 0d 3e 46 72 6f 6d 20 61 | 6e 6b 68 40 6c 65 6c 61 |.>From a|nkh@lela|
|000054d0| 6e 64 2e 53 74 61 6e 66 | 6f 72 64 2e 45 44 55 20 |nd.Stanf|ord.EDU |
|000054e0| 28 67 72 61 68 61 6d 20 | 68 65 73 73 65 6c 72 6f |(graham |hesselro|
|000054f0| 74 68 29 0d 53 75 62 6a | 65 63 74 3a 20 4d 61 63 |th).Subj|ect: Mac|
|00005500| 54 43 50 20 42 65 72 6b | 65 6c 65 79 20 73 6f 63 |TCP Berk|eley soc|
|00005510| 6b 65 74 20 77 72 61 70 | 70 65 72 3f 0d 44 61 74 |ket wrap|per?.Dat|
|00005520| 65 3a 20 32 33 20 4a 75 | 6e 20 31 39 39 34 20 31 |e: 23 Ju|n 1994 1|
|00005530| 37 3a 34 38 3a 33 39 20 | 47 4d 54 0d 4f 72 67 61 |7:48:39 |GMT.Orga|
|00005540| 6e 69 7a 61 74 69 6f 6e | 3a 20 53 74 61 6e 66 6f |nization|: Stanfo|
|00005550| 72 64 20 55 6e 69 76 65 | 72 73 69 74 79 2c 20 43 |rd Unive|rsity, C|
|00005560| 41 20 39 34 33 30 35 2c | 20 55 53 41 0d 0d 09 48 |A 94305,| USA...H|
|00005570| 65 6c 6c 6f 2c 0d 0d 09 | 09 49 20 77 61 73 20 6c |ello,...|.I was l|
|00005580| 6f 6f 6b 69 6e 67 20 66 | 6f 72 20 73 6f 6d 65 20 |ooking f|or some |
|00005590| 6c 69 62 72 61 72 79 20 | 6f 66 20 43 20 6f 72 20 |library |of C or |
|000055a0| 43 2b 2b 20 63 6f 64 65 | 20 74 68 61 74 0d 61 63 |C++ code| that.ac|
|000055b0| 74 65 64 20 61 73 20 61 | 20 73 69 6d 70 6c 69 66 |ted as a| simplif|
|000055c0| 69 65 64 20 69 6e 74 65 | 72 66 61 63 65 20 74 6f |ied inte|rface to|
|000055d0| 20 74 68 65 20 4d 61 63 | 54 43 50 20 63 61 6c 6c | the Mac|TCP call|
|000055e0| 73 2c 20 70 72 65 66 65 | 72 61 62 6c 79 0d 63 6f |s, prefe|rably.co|
|000055f0| 6d 70 6c 69 61 6e 74 20 | 77 69 74 68 20 74 68 65 |mpliant |with the|
|00005600| 20 42 65 72 6b 65 6c 65 | 79 20 73 6f 63 6b 65 74 | Berkele|y socket|
|00005610| 73 20 41 50 49 2e 20 20 | 44 6f 65 73 20 61 6e 79 |s API. |Does any|
|00005620| 20 73 75 63 68 20 62 65 | 61 73 74 20 65 78 69 73 | such be|ast exis|
|00005630| 74 2c 0d 6f 72 20 61 6e | 79 6f 74 68 65 72 20 70 |t,.or an|yother p|
|00005640| 61 63 6b 61 67 65 20 74 | 68 61 74 20 70 72 6f 76 |ackage t|hat prov|
|00005650| 69 64 65 73 20 73 6f 63 | 6b 65 74 20 6c 69 6b 65 |ides soc|ket like|
|00005660| 20 63 61 6c 6c 73 20 6f | 6e 20 74 68 65 20 4d 61 | calls o|n the Ma|
|00005670| 63 0d 28 73 6f 63 6b 65 | 74 2c 20 62 69 6e 64 2c |c.(socke|t, bind,|
|00005680| 20 63 6f 6e 6e 65 63 74 | 2c 20 72 65 63 76 72 66 | connect|, recvrf|
|00005690| 72 6f 6d 2c 20 73 65 6e | 64 74 6f 2c 20 65 74 63 |rom, sen|dto, etc|
|000056a0| 29 3f 0d 50 6c 73 20 73 | 65 6e 64 20 72 65 70 6c |)?.Pls s|end repl|
|000056b0| 69 65 73 20 74 6f 20 61 | 6e 6b 68 40 6c 65 6c 61 |ies to a|nkh@lela|
|000056c0| 6e 64 2e 73 74 61 6e 66 | 6f 72 64 2e 65 64 75 20 |nd.stanf|ord.edu |
|000056d0| 0d 09 54 68 61 6e 6b 73 | 0d 09 09 47 72 61 68 61 |..Thanks|...Graha|
|000056e0| 6d 0d 0d 0d 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |m...++++|++++++++|
|000056f0| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 0d |++++++++|+++++++.|
|00005700| 0d 3e 46 72 6f 6d 20 72 | 79 70 6d 61 40 77 61 74 |.>From r|ypma@wat|
|00005710| 65 72 6c 6f 6f 2e 68 70 | 2e 63 6f 6d 20 28 54 65 |erloo.hp|.com (Te|
|00005720| 64 20 52 79 70 6d 61 29 | 0d 44 61 74 65 3a 20 32 |d Rypma)|.Date: 2|
|00005730| 33 20 4a 75 6e 20 31 39 | 39 34 20 32 30 3a 35 33 |3 Jun 19|94 20:53|
|00005740| 3a 30 31 20 47 4d 54 0d | 4f 72 67 61 6e 69 7a 61 |:01 GMT.|Organiza|
|00005750| 74 69 6f 6e 3a 20 48 2d | 50 20 50 61 6e 61 63 6f |tion: H-|P Panaco|
|00005760| 6d 20 44 69 76 2c 20 57 | 61 74 65 72 6c 6f 6f 2c |m Div, W|aterloo,|
|00005770| 20 4f 4e 20 43 61 6e 61 | 64 61 0d 0d 67 72 61 68 | ON Cana|da..grah|
|00005780| 61 6d 20 68 65 73 73 65 | 6c 72 6f 74 68 20 28 61 |am hesse|lroth (a|
|00005790| 6e 6b 68 40 6c 65 6c 61 | 6e 64 2e 53 74 61 6e 66 |nkh@lela|nd.Stanf|
|000057a0| 6f 72 64 2e 45 44 55 29 | 20 77 72 6f 74 65 3a 0d |ord.EDU)| wrote:.|
|000057b0| 3a 20 09 48 65 6c 6c 6f | 2c 0d 0d 3a 20 09 09 49 |: .Hello|,..: ..I|
|000057c0| 20 77 61 73 20 6c 6f 6f | 6b 69 6e 67 20 66 6f 72 | was loo|king for|
|000057d0| 20 73 6f 6d 65 20 6c 69 | 62 72 61 72 79 20 6f 66 | some li|brary of|
|000057e0| 20 43 20 6f 72 20 43 2b | 2b 20 63 6f 64 65 20 74 | C or C+|+ code t|
|000057f0| 68 61 74 0d 3a 20 61 63 | 74 65 64 20 61 73 20 61 |hat.: ac|ted as a|
|00005800| 20 73 69 6d 70 6c 69 66 | 69 65 64 20 69 6e 74 65 | simplif|ied inte|
|00005810| 72 66 61 63 65 20 74 6f | 20 74 68 65 20 4d 61 63 |rface to| the Mac|
|00005820| 54 43 50 20 63 61 6c 6c | 73 2c 20 70 72 65 66 65 |TCP call|s, prefe|
|00005830| 72 61 62 6c 79 0d 3a 20 | 63 6f 6d 70 6c 69 61 6e |rably.: |complian|
|00005840| 74 20 77 69 74 68 20 74 | 68 65 20 42 65 72 6b 65 |t with t|he Berke|
|00005850| 6c 65 79 20 73 6f 63 6b | 65 74 73 20 41 50 49 2e |ley sock|ets API.|
|00005860| 20 20 44 6f 65 73 20 61 | 6e 79 20 73 75 63 68 20 | Does a|ny such |
|00005870| 62 65 61 73 74 20 65 78 | 69 73 74 2c 0d 0d 3e 46 |beast ex|ist,..>F|
|00005880| 72 6f 6d 20 61 6e 20 65 | 61 72 6c 69 65 72 20 70 |rom an e|arlier p|
|00005890| 6f 73 74 2e 2e 2e 0d 0d | 25 20 47 65 74 20 73 6f |ost.....|% Get so|
|000058a0| 63 6b 65 74 73 2e 68 71 | 78 20 66 72 6f 6d 20 65 |ckets.hq|x from e|
|000058b0| 78 70 6c 6f 72 65 72 2e | 64 67 70 2e 75 74 6f 72 |xplorer.|dgp.utor|
|000058c0| 6f 6e 74 6f 2e 63 61 20 | 69 6e 20 2f 70 75 62 2f |onto.ca |in /pub/|
|000058d0| 6d 61 63 73 6f 63 6b 65 | 74 73 2e 0d 25 20 0d 25 |macsocke|ts..% .%|
|000058e0| 20 42 65 20 77 61 72 6e | 65 64 2c 20 74 68 6f 75 | Be warn|ed, thou|
|000058f0| 67 68 2c 20 79 6f 75 20 | 68 61 76 65 20 74 6f 20 |gh, you |have to |
|00005900| 62 75 69 6c 64 20 69 74 | 20 79 6f 75 72 73 65 6c |build it| yoursel|
|00005910| 66 20 28 4d 50 57 29 2c | 20 61 6e 64 20 69 74 20 |f (MPW),| and it |
|00005920| 69 73 20 69 6d 63 6f 6d | 70 6c 65 74 65 2e 0d 25 |is imcom|plete..%|
|00005930| 20 46 6f 72 20 6a 75 73 | 74 20 63 6f 6e 6e 65 63 | For jus|t connec|
|00005940| 74 69 6e 67 20 74 6f 20 | 73 6f 6d 65 20 73 65 72 |ting to |some ser|
|00005950| 76 65 72 2c 20 73 6e 61 | 72 66 20 64 61 74 61 2c |ver, sna|rf data,|
|00005960| 20 61 6e 64 20 63 6c 6f | 73 65 2c 20 69 74 20 77 | and clo|se, it w|
|00005970| 6f 72 6b 73 20 66 69 6e | 65 2e 0d 25 20 4f 6e 65 |orks fin|e..% One|
|00005980| 20 6f 66 20 74 68 65 73 | 65 20 64 61 79 73 20 49 | of thes|e days I|
|00005990| 27 6c 6c 20 67 65 74 20 | 61 72 6f 75 6e 64 20 74 |'ll get |around t|
|000059a0| 6f 20 73 75 70 70 6c 79 | 69 6e 67 20 54 6f 6d 20 |o supply|ing Tom |
|000059b0| 77 69 74 68 20 61 20 6c | 69 73 74 20 6f 66 20 70 |with a l|ist of p|
|000059c0| 61 74 63 68 65 73 0d 25 | 20 61 6e 64 20 74 68 65 |atches.%| and the|
|000059d0| 6e 20 73 6f 6d 65 64 61 | 79 20 68 65 27 6c 6c 20 |n someda|y he'll |
|000059e0| 67 65 74 20 61 72 6f 75 | 6e 64 20 74 6f 20 73 75 |get arou|nd to su|
|000059f0| 70 70 6c 79 69 6e 67 20 | 61 6e 20 75 70 64 61 74 |pplying |an updat|
|00005a00| 65 64 20 2e 68 71 78 20 | 66 69 6c 65 20 6f 66 0d |ed .hqx |file of.|
|00005a10| 25 20 63 6f 6d 70 69 6c | 65 64 20 6c 69 62 72 61 |% compil|ed libra|
|00005a20| 72 69 65 73 20 61 6e 64 | 20 68 65 61 64 65 72 73 |ries and| headers|
|00005a30| 2e 0d 25 20 0d 25 20 65 | 6e 6a 6f 79 21 0d 25 20 |..% .% e|njoy!.% |
|00005a40| 2d 2d 0d 25 20 21 40 24 | 5e 26 2a 29 28 24 23 24 |--.% !@$|^&*)($#$|
|00005a50| 40 21 40 23 24 5e 26 2a | 28 29 5f 2b 5f 29 28 2a |@!@#$^&*|()_+_)(*|
|00005a60| 26 5e 24 23 40 21 24 5e | 26 2a 28 29 5f 2b 29 28 |&^$#@!$^|&*()_+)(|
|00005a70| 2a 26 5e 24 23 40 24 5e | 26 2a 2b 5f 28 2a 26 5e |*&^$#@$^|&*+_(*&^|
|00005a80| 24 23 40 23 5e 26 2a 28 | 29 26 2a 24 23 40 28 2a |$#@#^&*(|)&*$#@(*|
|00005a90| 26 0d 25 20 44 6f 6d 69 | 6e 69 63 20 52 69 63 68 |&.% Domi|nic Rich|
|00005aa0| 65 6e 73 20 20 3a 20 20 | 64 6f 6d 69 6e 69 63 40 |ens : |dominic@|
|00005ab0| 6f 65 67 2e 63 61 72 6c | 65 74 6f 6e 2e 63 61 20 |oeg.carl|eton.ca |
|00005ac0| 20 3a 20 20 54 65 6c 2e | 20 28 36 31 33 29 20 38 | : Tel.| (613) 8|
|00005ad0| 32 30 20 30 37 36 34 0d | 25 20 4f 6e 74 61 72 69 |20 0764.|% Ontari|
|00005ae0| 6f 20 54 65 6c 65 70 72 | 65 73 65 6e 63 65 20 50 |o Telepr|esence P|
|00005af0| 72 6f 6a 65 63 74 2c 32 | 36 37 30 20 51 75 65 65 |roject,2|670 Quee|
|00005b00| 6e 73 76 69 65 77 20 44 | 72 2e 2c 4f 74 74 61 77 |nsview D|r.,Ottaw|
|00005b10| 61 2c 4f 4e 2c 4b 32 42 | 20 38 4b 31 2c 43 41 4e |a,ON,K2B| 8K1,CAN|
|00005b20| 41 44 41 0d 0d 54 65 64 | 20 52 79 70 6d 61 0d 57 |ADA..Ted| Rypma.W|
|00005b30| 61 74 65 72 6c 6f 6f 2c | 20 4f 6e 74 61 72 69 6f |aterloo,| Ontario|
|00005b40| 0d 0d 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |..++++++|++++++++|
|00005b50| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 0d 0d 3e |++++++++|+++++..>|
|00005b60| 46 72 6f 6d 20 6e 61 67 | 65 6c 40 52 64 61 74 61 |From nag|el@Rdata|
|00005b70| 73 79 73 2e 43 4f 4d 20 | 28 4d 61 72 6b 20 44 2e |sys.COM |(Mark D.|
|00005b80| 20 4e 61 67 65 6c 29 0d | 44 61 74 65 3a 20 46 72 | Nagel).|Date: Fr|
|00005b90| 69 2c 20 32 34 20 4a 75 | 6e 20 31 39 39 34 20 31 |i, 24 Ju|n 1994 1|
|00005ba0| 38 3a 31 34 3a 32 38 20 | 47 4d 54 0d 4f 72 67 61 |8:14:28 |GMT.Orga|
|00005bb0| 6e 69 7a 61 74 69 6f 6e | 3a 20 52 65 6c 61 74 69 |nization|: Relati|
|00005bc0| 6f 6e 61 6c 20 44 61 74 | 61 20 53 79 73 74 65 6d |onal Dat|a System|
|00005bd0| 73 2c 20 49 72 76 69 6e | 65 2c 20 43 41 0d 0d 49 |s, Irvin|e, CA..I|
|00005be0| 6e 20 3c 32 75 63 73 6e | 64 24 37 33 6d 40 68 70 |n <2ucsn|d$73m@hp|
|00005bf0| 70 61 64 62 6b 2e 77 61 | 74 65 72 6c 6f 6f 2e 68 |padbk.wa|terloo.h|
|00005c00| 70 2e 63 6f 6d 3e 20 72 | 79 70 6d 61 40 77 61 74 |p.com> r|ypma@wat|
|00005c10| 65 72 6c 6f 6f 2e 68 70 | 2e 63 6f 6d 20 28 54 65 |erloo.hp|.com (Te|
|00005c20| 64 20 52 79 70 6d 61 29 | 20 77 72 69 74 65 73 3a |d Rypma)| writes:|
|00005c30| 0d 0d 3e 67 72 61 68 61 | 6d 20 68 65 73 73 65 6c |..>graha|m hessel|
|00005c40| 72 6f 74 68 20 28 61 6e | 6b 68 40 6c 65 6c 61 6e |roth (an|kh@lelan|
|00005c50| 64 2e 53 74 61 6e 66 6f | 72 64 2e 45 44 55 29 20 |d.Stanfo|rd.EDU) |
|00005c60| 77 72 6f 74 65 3a 0d 3e | 3a 20 09 09 49 20 77 61 |wrote:.>|: ..I wa|
|00005c70| 73 20 6c 6f 6f 6b 69 6e | 67 20 66 6f 72 20 73 6f |s lookin|g for so|
|00005c80| 6d 65 20 6c 69 62 72 61 | 72 79 20 6f 66 20 43 20 |me libra|ry of C |
|00005c90| 6f 72 20 43 2b 2b 20 63 | 6f 64 65 20 74 68 61 74 |or C++ c|ode that|
|00005ca0| 0d 3e 3a 20 61 63 74 65 | 64 20 61 73 20 61 20 73 |.>: acte|d as a s|
|00005cb0| 69 6d 70 6c 69 66 69 65 | 64 20 69 6e 74 65 72 66 |implifie|d interf|
|00005cc0| 61 63 65 20 74 6f 20 74 | 68 65 20 4d 61 63 54 43 |ace to t|he MacTC|
|00005cd0| 50 20 63 61 6c 6c 73 2c | 20 70 72 65 66 65 72 61 |P calls,| prefera|
|00005ce0| 62 6c 79 0d 3e 3a 20 63 | 6f 6d 70 6c 69 61 6e 74 |bly.>: c|ompliant|
|00005cf0| 20 77 69 74 68 20 74 68 | 65 20 42 65 72 6b 65 6c | with th|e Berkel|
|00005d00| 65 79 20 73 6f 63 6b 65 | 74 73 20 41 50 49 2e 20 |ey socke|ts API. |
|00005d10| 20 44 6f 65 73 20 61 6e | 79 20 73 75 63 68 20 62 | Does an|y such b|
|00005d20| 65 61 73 74 20 65 78 69 | 73 74 2c 0d 0d 3e 46 72 |east exi|st,..>Fr|
|00005d30| 6f 6d 20 61 6e 20 65 61 | 72 6c 69 65 72 20 70 6f |om an ea|rlier po|
|00005d40| 73 74 2e 2e 2e 0d 0d 3e | 25 20 47 65 74 20 73 6f |st.....>|% Get so|
|00005d50| 63 6b 65 74 73 2e 68 71 | 78 20 66 72 6f 6d 20 65 |ckets.hq|x from e|
|00005d60| 78 70 6c 6f 72 65 72 2e | 64 67 70 2e 75 74 6f 72 |xplorer.|dgp.utor|
|00005d70| 6f 6e 74 6f 2e 63 61 20 | 69 6e 20 2f 70 75 62 2f |onto.ca |in /pub/|
|00005d80| 6d 61 63 73 6f 63 6b 65 | 74 73 2e 0d 0d 54 68 65 |macsocke|ts...The|
|00005d90| 72 65 27 73 20 61 6c 73 | 6f 20 47 55 53 49 20 28 |re's als|o GUSI (|
|00005da0| 47 72 61 6e 64 20 55 6e | 69 66 69 65 64 20 53 6f |Grand Un|ified So|
|00005db0| 63 6b 65 74 20 49 6e 74 | 65 72 66 61 63 65 29 2c |cket Int|erface),|
|00005dc0| 20 61 76 61 69 6c 61 62 | 6c 65 20 66 72 6f 6d 0d | availab|le from.|
|00005dd0| 6e 69 63 2e 73 77 69 74 | 63 68 2e 63 68 20 69 6e |nic.swit|ch.ch in|
|00005de0| 20 2f 73 6f 66 74 77 61 | 72 65 2f 6d 61 63 2f 73 | /softwa|re/mac/s|
|00005df0| 72 63 2f 6d 70 77 5f 63 | 2e 20 20 48 65 72 65 27 |rc/mpw_c|. Here'|
|00005e00| 65 20 74 68 65 20 2e 69 | 6e 66 6f 20 66 69 6c 65 |e the .i|nfo file|
|00005e10| 3a 0d 0d 2d 20 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |:..- ---|--------|
|00005e20| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005e30| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005e40| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005e50| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005e60| 2d 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |-. | |
|00005e70| 20 20 20 47 20 55 20 53 | 20 49 20 2d 2d 20 47 72 | G U S| I -- Gr|
|00005e80| 61 6e 64 20 55 6e 69 66 | 69 65 64 20 53 6f 63 6b |and Unif|ied Sock|
|00005e90| 65 74 20 49 6e 74 65 72 | 66 61 63 65 0d 0d 49 4e |et Inter|face..IN|
|00005ea0| 54 52 4f 44 55 43 54 49 | 4f 4e 0d 0d 47 55 53 49 |TRODUCTI|ON..GUSI|
|00005eb0| 20 69 73 20 61 6e 20 65 | 78 74 65 6e 73 69 6f 6e | is an e|xtension|
|00005ec0| 20 61 6e 64 20 70 61 72 | 74 69 61 6c 20 72 65 70 | and par|tial rep|
|00005ed0| 6c 61 63 65 6d 65 6e 74 | 20 6f 66 20 74 68 65 20 |lacement| of the |
|00005ee0| 4d 50 57 20 43 20 72 75 | 6e 74 69 6d 65 0d 6c 69 |MPW C ru|ntime.li|
|00005ef0| 62 72 61 72 79 2e 20 20 | 49 74 73 20 6d 61 69 6e |brary. |Its main|
|00005f00| 20 6f 62 6a 65 63 74 69 | 76 65 20 69 73 20 74 6f | objecti|ve is to|
|00005f10| 20 70 72 6f 76 69 64 65 | 20 61 20 6d 6f 72 65 20 | provide| a more |
|00005f20| 6f 72 20 6c 65 73 73 20 | 73 69 6d 70 6c 65 20 61 |or less |simple a|
|00005f30| 6e 64 0d 63 6f 6e 73 69 | 73 74 65 6e 74 20 69 6e |nd.consi|stent in|
|00005f40| 74 65 72 66 61 63 65 20 | 61 63 72 6f 73 73 20 74 |terface |across t|
|00005f50| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 63 6f 6d |he follo|wing com|
|00005f60| 6d 75 6e 69 63 61 74 69 | 6f 6e 20 64 6f 6d 61 69 |municati|on domai|
|00005f70| 6e 73 3a 0d 0d 46 69 6c | 65 73 20 20 20 20 20 20 |ns:..Fil|es |
|00005f80| 20 20 20 20 4f 72 64 69 | 6e 61 72 79 20 4d 61 63 | Ordi|nary Mac|
|00005f90| 69 6e 74 6f 73 68 20 66 | 69 6c 65 73 20 61 6e 64 |intosh f|iles and|
|00005fa0| 20 4d 50 57 20 70 73 65 | 75 64 6f 20 64 65 76 69 | MPW pse|udo devi|
|00005fb0| 63 65 73 2e 0d 55 6e 69 | 78 20 20 20 20 20 20 20 |ces..Uni|x |
|00005fc0| 20 20 20 20 4d 65 6d 6f | 72 79 20 62 61 73 65 64 | Memo|ry based|
|00005fd0| 20 63 6f 6d 6d 75 6e 69 | 63 61 74 69 6f 6e 20 77 | communi|cation w|
|00005fe0| 69 74 68 69 6e 20 61 20 | 73 69 6e 67 6c 65 20 6d |ithin a |single m|
|00005ff0| 61 63 68 69 6e 65 0d 41 | 70 70 6c 65 74 61 6c 6b |achine.A|ppletalk|
|00006000| 20 20 20 20 20 20 41 44 | 53 50 20 63 6f 6d 6d 75 | AD|SP commu|
|00006010| 6e 69 63 61 74 69 6f 6e | 20 6f 76 65 72 20 61 20 |nication| over a |
|00006020| 6e 65 74 77 6f 72 6b 2e | 0d 50 50 43 20 20 20 20 |network.|.PPC |
|00006030| 20 20 20 20 20 20 20 20 | 4c 6f 63 61 6c 20 61 6e | |Local an|
|00006040| 64 20 72 65 6d 6f 74 65 | 20 63 6f 6e 6e 65 63 74 |d remote| connect|
|00006050| 69 6f 6e 73 20 77 69 74 | 68 20 74 68 65 20 53 79 |ions wit|h the Sy|
|00006060| 73 74 65 6d 20 37 20 50 | 50 43 20 54 6f 6f 6c 62 |stem 7 P|PC Toolb|
|00006070| 6f 78 0d 49 6e 74 65 72 | 6e 65 74 20 20 20 20 20 |ox.Inter|net |
|00006080| 20 20 54 43 50 20 61 6e | 64 20 55 44 50 20 63 6f | TCP an|d UDP co|
|00006090| 6e 6e 65 63 74 69 6f 6e | 73 20 6f 76 65 72 20 4d |nnection|s over M|
|000060a0| 61 63 54 43 50 2e 0d 0d | 41 64 64 69 74 69 6f 6e |acTCP...|Addition|
|000060b0| 61 6c 6c 79 2c 20 47 55 | 53 49 20 61 64 64 73 20 |ally, GU|SI adds |
|000060c0| 73 6f 6d 65 20 55 4e 49 | 58 20 6c 69 62 72 61 72 |some UNI|X librar|
|000060d0| 79 20 63 61 6c 6c 73 20 | 64 65 61 6c 69 6e 67 20 |y calls |dealing |
|000060e0| 77 69 74 68 20 66 69 6c | 65 73 20 77 68 69 63 68 |with fil|es which|
|000060f0| 0d 77 65 72 65 20 6d 69 | 73 73 69 6e 67 2c 20 6c |.were mi|ssing, l|
|00006100| 69 6b 65 20 63 68 64 69 | 72 28 29 2c 20 67 65 74 |ike chdi|r(), get|
|00006110| 63 77 64 28 29 2c 20 73 | 79 6d 6c 69 6e 6b 28 29 |cwd(), s|ymlink()|
|00006120| 2c 20 61 6e 64 20 72 65 | 61 64 6c 69 6e 6b 28 29 |, and re|adlink()|
|00006130| 2c 20 61 6e 64 20 63 68 | 61 6e 67 65 73 0d 61 20 |, and ch|anges.a |
|00006140| 66 65 77 20 6f 74 68 65 | 72 20 6c 69 62 72 61 72 |few othe|r librar|
|00006150| 79 20 63 61 6c 6c 73 20 | 74 6f 20 62 65 68 61 76 |y calls |to behav|
|00006160| 65 20 6d 6f 72 65 20 6c | 69 6b 65 20 74 68 65 69 |e more l|ike thei|
|00006170| 72 20 55 4e 49 58 20 63 | 6f 75 6e 74 65 72 70 61 |r UNIX c|ounterpa|
|00006180| 72 74 73 2e 0d 0d 52 45 | 51 55 49 52 45 4d 45 4e |rts...RE|QUIREMEN|
|00006190| 54 53 0d 0d 54 6f 20 75 | 73 65 20 47 55 53 49 2c |TS..To u|se GUSI,|
|000061a0| 20 79 6f 75 20 6e 65 65 | 64 20 4d 50 57 20 43 20 | you nee|d MPW C |
|000061b0| 33 2e 32 20 6f 72 20 6c | 61 74 65 72 2e 20 54 6f |3.2 or l|ater. To|
|000061c0| 20 6d 6f 64 69 66 79 20 | 69 74 2c 20 79 6f 75 20 | modify |it, you |
|000061d0| 61 64 64 69 74 69 6f 6e | 61 6c 6c 79 20 6e 65 65 |addition|ally nee|
|000061e0| 64 0d 4d 50 57 20 43 2b | 2b 20 33 2e 32 20 6f 72 |d.MPW C+|+ 3.2 or|
|000061f0| 20 6c 61 74 65 72 20 61 | 6e 64 20 50 65 72 6c 2e | later a|nd Perl.|
|00006200| 20 47 55 53 49 5f 31 32 | 30 2e 64 6f 63 2e 73 69 | GUSI_12|0.doc.si|
|00006210| 74 2e 62 69 6e 20 70 72 | 6f 76 69 64 65 73 20 74 |t.bin pr|ovides t|
|00006220| 68 65 20 64 6f 63 75 6d | 65 6e 74 61 74 69 6f 6e |he docum|entation|
|00006230| 0d 66 6f 72 20 6e 6f 6e | 2d 70 6f 73 74 73 63 72 |.for non|-postscr|
|00006240| 69 70 74 20 70 72 69 6e | 74 65 72 73 2e 20 44 6f |ipt prin|ters. Do|
|00006250| 63 75 6d 65 6e 74 61 74 | 69 6f 6e 20 69 6e 20 50 |cumentat|ion in P|
|00006260| 6f 73 74 73 63 72 69 70 | 74 20 66 6f 72 6d 61 74 |ostscrip|t format|
|00006270| 20 69 73 20 69 6e 63 6c | 75 64 65 64 2e 0d 2d 20 | is incl|uded..- |
|00006280| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00006290| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000062a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000062b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000062c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0d 0d 54 68 |--------|----..Th|
|000062d0| 65 72 65 27 73 20 61 6c | 73 6f 20 61 20 70 6f 72 |ere's al|so a por|
|000062e0| 74 20 74 6f 20 54 48 49 | 4e 4b 20 43 20 69 6e 20 |t to THI|NK C in |
|000062f0| 74 68 65 20 69 6e 66 6f | 2d 6d 61 63 20 61 72 63 |the info|-mac arc|
|00006300| 68 69 76 65 73 2e 0d 0d | 2d 2d 20 0d 4d 61 72 6b |hives...|-- .Mark|
|00006310| 20 44 2e 20 4e 61 67 65 | 6c 20 3c 6d 61 72 6b 2e | D. Nage|l <mark.|
|00006320| 6e 61 67 65 6c 40 72 64 | 61 74 61 73 79 73 2e 63 |nagel@rd|atasys.c|
|00006330| 6f 6d 3e 20 20 20 20 20 | 20 52 65 6c 61 74 69 6f |om> | Relatio|
|00006340| 6e 61 6c 20 44 61 74 61 | 20 53 79 73 74 65 6d 73 |nal Data| Systems|
|00006350| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00006360| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006370| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 33 30 | | 30|
|00006380| 20 45 78 65 63 75 74 69 | 76 65 20 50 61 72 6b 2c | Executi|ve Park,|
|00006390| 20 53 75 69 74 65 20 32 | 36 30 0d 45 61 74 20 72 | Suite 2|60.Eat r|
|000063a0| 69 67 68 74 2e 20 20 45 | 78 65 72 63 69 73 65 2e |ight. E|xercise.|
|000063b0| 20 20 44 69 65 20 61 6e | 79 77 61 79 2e 20 20 20 | Die an|yway. |
|000063c0| 20 20 20 20 20 20 20 20 | 49 72 76 69 6e 65 2c 20 | |Irvine, |
|000063d0| 43 41 20 39 32 37 31 34 | 0d 20 20 20 20 20 20 20 |CA 92714|. |
|000063e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000063f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.